I'm currently taking a look at Struts 2 and I particularly like getting
rid of ActionForms. As I understand, WebWorks/Struts2 offers two ways to
map forms to business domain objects:
1. I can provide a getter method (getDomainObject()) in the action and
refer to its properties in a JSP by using "do
I'm currently taking a look at Struts 2 and I particularly like getting
rid of ActionForms. As I understand, WebWorks/Struts2 offers two ways to
map forms to business domain objects:
1. I can provide a getter method (getDomainObject()) in the action and
refer to its properties in a JSP by using "do
> I need to do something like:
>
> public void execute(ActionInvocation invocation) throws
> Exception {
> try {
>// Some operations
> } catch (Exception e) {
>//Send user to a error page
> }
> }
>
> Any idea?
You could write an intercepto
Hi,
I'd like to bind an enumeration directly to a select tag, so that all
possible values appear in the ui and I don't need to change the JSP if
the enumeration changes. Does anybody have a code snippet how to do
this? I could not find anything about it in the documentation.
Cheers,
Thorsten
-
S2
> S1 or S2?
> > I'd like to bind an enumeration directly to a select tag,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
> Is there a problem with the registering/lookup of multiple converters
in
> ConvertUtils on a single server instance?
I think this is not possible. The converters are stored in a static
hashmap, so all classes sharing a single classloader have to use the
same converters. I consider this a bad
Hi,
Why do you care about the information in the request? Typically, you
have a login page and the corresponding action stores the user object
into the session. In all subsequent requests, you can check the user
object in the session to determine which user did log in. This works for
S1, but I'd t
a higher version of Struts?
>
> Regards,
> Nitin
>
>
> -Original Message-
> From: Thorsten Schäfer [mailto:[EMAIL PROTECTED]
>
> Sent: Wednesday, January 31, 2007 10:00 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Issue with registering/lookup of
t;
in
> the
> user object stored in session.
> That can be the same for the page that redirects to any other object
of
> the
> application that does not belong to the user (imagine photo
gallery)...
> So did I miss something? I'm sure yes...
>
> Sebastien
>
>
&
9 matches
Mail list logo