ecute/*
pom.xml
...
org.apache.struts
struts2-core
2.0.9
Thanks.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The class is actually packaged as test.Test, I just removed it from the
post for simplicity (I won't do that next time).
Also, I've tried the two url-patterns. Both /* and /execute/* don't work.
They give the same error.
Aladin
> There appears to be a few things that m
() => Dispatcher:init_PreloadConfiguration()
The error messages appear when the line above is called...
... investigation continues ...
Aladin
> The class is actually packaged as test.Test, I just removed it from the
> post for simplicity (I won't do that next time).
>
> Also, I've tried the two url-patter
:494)
Now, to answer your question, here are my jars:
avalon-framework-4.1.3.jar log4j-1.2.9.jar struts2-core-2.0.9.jar
commons-logging-1.1.jar logkit-1.0.1.jar xwork-2.0.4.jar
freemarker-2.3.8.jarognl-2.6.11.jar
Aladin
> Without more setup details I'm not sure how we can
&
also work for Tomcat.
Thanks.
Aladin
>
>
> Michelle Baert wrote:
>> Aladin wrote:
>>
>>> I have the simplest of Struts2 application and I keep getting an error
>>> in
>>> the logs stating:
>>>
>>> ERROR TP-Processor5 org.apach
Hi Nicole,
You have a typo.
You don't want global-exceptionS but rather global-exception.
Remove the S and everything should work.
Aladin
nicole.wollgast wrote:
Hi,
I am using struts and have a struts-config.xml that is valid against
struts-config_1_1.dtd (I checked it with xmlst
Hi Shajee,
You might want to look into iText for generating PDF reports. In
addition, there is also the POI library for generating excel workbooks.
Both can be easily integrated into your struts application.
Good luck.
Aladin
alec wrote:
try jasperreport. I used it to generate pdf for browser
this helps,
Aladin
Adam Hardy wrote:
On 08/05/05 13:09 Mehmet E. wrote:
Form Bean scope is session. In every request form bean
RESET method is executing. I am useing struts with
tiles. There is no code for removing form bean from
session. As i know, it must execute one times per
session after creati
Hi Sean,
iBatis works like a charm for what you're describing. You don't have to
learn a new language. Just use SQLMaps and you're done.
Good Luck.
Aladin
Sean Burlington wrote:
Hi all,
this is such a common problem that I'm sure there must be loads of
advice on how
nForm
for this purpose might confuse some, I think that it is a better
alternative than putting the data in the session or request scope.
Aladin
Benedict, Paul C wrote:
I have read Michael Jouravlev's article:
http://wiki.apache.org/struts/StrutsCatalogInputOutputSeparation
I can't f
vely in request or session attributes as necessary, but never the
> form
I took it to mean that he literally puts attribute1->value1 ...
attributeN->valueN in the session or the request rather than in an
object (like an ActionForm).
Aladin
having declared your filter, you need to map it to a uri
for which it will be applied.
Aladin
Adam Lipscombe wrote:
Folks,
I there a standard way of handling session timeouts. If a user has been
inactive for longer than N minutes I want to redirect them to the login
page.
It occurs to me that
. The headers are also
set to the content-type you want and the format you want (inline or
attachment).
Aladin
> Hey all
>
> is it possible to forme my struts app to open up a second browser window
> for
> the purpose of streaming a different content type (like a pdf file) into
>
After rereading the original post, it seems that I misunderstood the
> original question. My proposed solution assumes you've already dealt with
> handling the expired session, so for all intents and purposes, we actually
> agree (in a 1/42 kind of way ;)
At least we agree on somet
Hi Néstor,
You can do that with the following code:
ActionErrors errors = (ActionErrors) request.getAttribute(Globals.ERROR_KEY);
Aladin
> Hi
>
> Does somebody know how I can get the ActionErrors object from the
> request???
>
> Regards,
Hi Everyone,
I was just curious if anyone has been using struts v. 1.2.7?
If so, what do you think of the new features? Personally, I think that
being able to save the errors in the session is a great addition (I wrote
a hack for v. 1.2.4 to do exactly that).
Thanks,
Aladin
(Globals.MESSAGE_KEY);
ActionTools.getInstance().saveMessages(request, messages);
}
return true;
}
> Aladin, perhaps your hack could have been contributed sooner!! :-) 1.2.7
> has
> been held up along time .. It's about time it's coming out.
>
> -Ori
I will assume you are looking for the struts source code for the current
release.
In any case, I think what you are looking for is here:
http://struts.apache.org/download.cgi
Aladin
ps. A google search of "struts download" (without the quotes) will yield
the link above.
>
Hello,
For those of you who want to try out 1.2.7 and are having trouble finding
a link to it (or are just lazy ;)) here is where I found it:
http://cvs.apache.org/dist/struts/v1.2.7/
Feel free to make corrections to the link above.
Aladin
> At 10:54 AM -0400 5/18/05, Aladin Alaily wr
t;/path/to/your/action/")
Hope this helps.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Pham,
I think this was mentioned earlier. There are two things you can do:
1) Use a filter with a url-map to your action
2) Use security constraints
Aladin
Pham Anh Tuan wrote:
Hi all,
This is the second time I post this message for help :(.
I don't know how to restrict access to ce
have this addition to
Struts 1.7
Aladin
> The way I have done this is I have the following on all my pages:
>
>
> <%@ include file="/inc/pleaseWait.inc" %>
>
>
> pleaseWait.inc is the HTML for my Please Wait display. For me, it's a
> l
ource in your browser).
Aladin
>
> Cheers
>
> Christopher Marsh-Bourdon
> www.marsh-bourdon.com
>
>
>
> -Original Message-
> From: Aladin Alaily [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2005 16:13
> To: Struts Users Mailing List
> Cc: user@strut
Thanks Niall.
I got your message after I had already sent another to the list.
Aladin
> See the and tags to do this
>
> http://struts.apache.org/userGuide/struts-html.html#xhtml
> http://struts.apache.org/userGuide/struts-html.html#html
>
> Niall
>
> - Origi
Hello All,
Found my answer... (posting here for the benefit of others)
To make the tags xhtml compliant, you have to add to your
pages.
Aladin
> Hi Christopher,
>
>> This is surely down to your IDE and not Struts.
>
> I don't think you understand the problem, becau
I actually prefer to have instead of the html attribute
because html:html is restrictive. It doesn't allow me to add an xml
namespace to the html tag (xmlns="http://www.w3.org/1999/xhtml).
My solution is to have the following:
http://www.w3.org/1999/xhtml";>
...
Al
Paul,
You are probably right. I currently use Tiles or have any dynamic
inclusions. I guess this is an "I'll cross that bridge when I get to it"
problem ;).
Thanks for the heads-up though.
Aladin
> Aladin,
>
> Good point, but I believe your solution has limited u
Typo...
> ... I currently use Tiles or have any dynamic ...
Should read
I currently don't use Tiles...
Aladin
> Paul,
>
> You are probably right. I currently use Tiles or have any dynamic
> inclusions. I guess this is an "I'll cross that bridge when I get t
n???
Hope this helps,
Aladin
tarek.nabil wrote:
Hi everyone,
We're building a project using Struts and are about to start on the
security module. The requirements are that security should be fine
grained, which means that it can not be on the module level, but rather
on the JSP or Action
plication.properties file I have:
alt.logo=This is alt text
Now, I would expect that the tag generated by as defined
above would be:
But I don't !?!
Has anyone encountered this problem before... and how did you resolve it?
Thanks.
Aladin
meyawn wrote:
well, when you uncheck a c
Thanks Chris.
I must be going blind ;)
Aladin
Chris Loschen wrote:
Hope that helps!
Chris Loschen
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25, 2005 6:39 PM
To: Struts Users Mailing List
Subject: html:img question
Hi Guys,
Maybe
?... am I missing something here?
Thanks to everyone for their help.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Nils,
I don't know if this is what you mean (or why you would want to do this
instead of just writing )... but you could have something like this:
and in your properties file, you have the following:
line.break=
Good Luck!
A
.xml
==
... page 1 ...
...
... page 2 ...
...
Problem
This doesn't work because I can't nest the tiles:getAsString tag within
the presentation tag (or any other tag like c:set).
Do you guys have any ideas on how I can accomplish w
Thanks Paul.
Aladin
Paul Benedict wrote:
Aladin,
You cannot nest JSP tags inside JSP tag attributes. Split them up:
JSP 1.2:
JSP 2.0:
Paul
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http
size="somesize"
I always resisted using displaytag because of loading the entire
resultset is just plain bad when you're dealing with a large number of
records. But now that this restriction has been removed, displaytag
does the job quite nicely.
Hope this helps.
Aladin
Srini
That was my first reaction too. As a matter of fact, I am using version
1.1 and it works quite nicely. You should most definetly revisit it,
the flexibility of external sorting & sublists are major improvements.
Aladin
Rick Reumann wrote:
Aladin Alaily wrote:
After compile displa
Would you use a .tag to produce the effect described above?
Thanks.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Dave,
I'm also wary of doing such a thing (hence why I'm posting here) because
I would essentially be mimicking the servlet container's job.
Now if it's possible to do what I'm trying to with files then I'll give
that a shot instead.
Thanks.
Aladin
Dave
... with tag files ...
Aladin Alaily wrote:
Hi Dave,
I'm also wary of doing such a thing (hence why I'm posting here) because
I would essentially be mimicking the servlet container's job.
Now if it's possible to do what I'm trying to with files then I'll give
The errors may be indicative of what's going wrong with your app...
because the above should not break anything.
Must be something really subtle
Aladin
Rick Reumann wrote:
I've used Tiles in the past. Started to implement it in this new app,
and I keep
Rick Reumann wrote:
Aladin Alaily wrote:
Hi Rick,
Your configuration looks okay to me (for a 1.2.7 struts app - I don't
know about 1.2.9 because I haven't made the jump yet).
What kind of errors did you get when you put:
http://struts.apache.org/dtds/tiles-config_1_3.dtd&q
Rick Reumann wrote:
Aladin Alaily wrote:
Did you revert back to 1.2.7 or is this message appearing with 1.2.9?
I'm getting the same error with 1.2.7 or 1.2.9. It's so frustrating
because I'm comparing the jars between an app where I have things
working and this current on
for any help.
Try the following:
tiles-defs.xml
===
...
...
...
Main Layout.jsp
classname="java.lang.String" />
... in your html on the page ...
<%= page_links %>
Mayb
Tiles stuff are not that great..
fortunately I found Rick Hightower's PDF which seems to be helping a lot:
http://www.arc-mind.com/downloads_protected/tutorials/struts/advanced-tiles.pdf
)
Glad to hear you've figured it out.
Thanks for th
/value pair to your application.properties file:
key1=Username/Password cannot be empty
2) You need to change the construction of your ActionMessage:
ActionMessage message = new ActionMessage("key1");
This will solve you problem.
Good luck.
Aladin
Kaizar Amin wrote:
Hi Atta,
As per your suggestio
to
specific urls. Consequently, not all requests will pass through the
filter (unless you specify the map as '/').
Good Luck.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
cannot
access. Have a look to make sure that your struts_app has access to
read (and maybe write) from/to the email_app.
Good luck.
Aladin
Jim Douglas wrote:
To all,
I have TOMCAT 5.5 up and running and a webapp in the
TOMCAT_HOME/webpps/XYZ directory
I have an email webapp in TOMCAT_HOME
t; type="text/css">
Has anyone experienced this before? If so, how did you fix this problem.
I am using struts 1.7
Thanks.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That's not normal... If you add the semi-colon and the jsessionid to an
image src, then the image is not going to resolve properly. That's the
behaviour that I'm noticing - with the jsessionid, the links & images
don't resolve.
Aladin
> That's normal. What
.1.tld
struts-logic-1.1.tld
struts-nested-1.1.tld
c-1.1.2.tld
Aladin
> It works for me.
>
> I would guess that this is pretty standard HTTP to be
> honest. It should resolve the images by stripping off
> any unnecessary SID info' etc, if you don't use it for
> security
Hi,
Depending on the version of tomcat you've downloaded you may have
servlet-api.jar & jsp-api.jar OR servlet.jar
Look in:
$TOMCAT_HOME/common/lib
Aladin
> I downloaded jboss which includes tomcat and I couldn't find these two
> files:
>
> servlet-api.jar
tSession(), messages);
Now, I would expect that the error message be outputted to the right of
the textfield ( Error message here), but it doesn't.
Does anyone know if things have changed in 1.2.7... or am I missing
something here?
Thanks!
Aladin
---
Problem solved... must be Friday.
Aladin
> Hello,
>
> I am using struts 1.2.7 and am having trouble outputing error messages for
> specific fields.
>
> If I have the following (in a form):
>
>
>
> and in my action I do something like:
>
> me
be
having the same problem.
Aladin
ALEX HYDE wrote:
Aladin,
I'm no expert so I can't tell exactly what's wrong
from what you're saying. Have u ripped out those url's
to the images (with and without SID) and just tried
them in a browser direct? Make sure it can find th
Hello,
Does anyone have any idea as to why SSL protocol switching isn't part of
struts?
After having configured the main web server to support SSL, isn't
switching as simple as adding an "s" to http?
Are there any considerations (for exclusion) that I am missing
tching as simple as adding an "s" to http?
Are there any considerations (for exclusion) that I am missing here?
By the way thanks for your reply Wendy.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
hange the path(s) in the
filter... Furthermore, what if you change the name of the action that
requires SSL? Another problem that I can think of is that all the link on
the redirected SSL page will be generated with https.
Have you written such a filter? I'd be curious to see how you implem
Hello,
In internationalizing a struts-tiles application, in your opinion, is it
better to internationalize the properties file or the tiles configuration
file? and why?
Thanks for you thoughts.
Aladin
-
To unsubscribe, e-mail
Hello,
I have a filter in which I check that the users are properly authenticated.
When the user needs to be redirected, I am able to retrieve the following:
1) context path (using the request)
2) action path (using the ActionConfig)
... but I cannot retrieve the url-pattern from web.xml! I ha
ution, manually check if the checkbox data appears in the
POST parameters. If not, then you know that the checkbox is not checked
and you can do a actionForm.checkboxname = null OR you set that up in your
ActionForm's reset method.
Hope this helps.
Aladin
> Hi,
>
> Thanks to al
x27;t
work.
Thanks.
Aladin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
62 matches
Mail list logo