2008/7/13 Dave Newton <[EMAIL PROTECTED]>:
Again, this is if you're intent on using XML configuration.
Dave didn't mention that if you're NOT intent on using XML
configuration, then the CodeBehind plugin was created exactly for this
purpose.
http://struts.apache.org/2.x/docs/cod
Brilliant! Thanks, Dave!
2008/7/13 Dave Newton <[EMAIL PROTECTED]>:
> Depending on how your application is laid out you could also put a
> "catch-all" mapping at the end of your regular mappings, like so:
>
>
> /static/{1}.jsp
>
>
> Again, this is if you're intent on using XML configuration.
baudeau <[EMAIL PROTECTED]> wrote:
> From: Pierre Thibaudeau <[EMAIL PROTECTED]>
> Subject: [S2] action mapping with merely default action
> To: "Struts Users Mailing List"
> Date: Sunday, July 13, 2008, 4:43 PM
> With Struts1, if I wished to render a JSP page w
--- On Sun, 7/13/08, Pierre Thibaudeau wrote:
> [S1]
>
> [S2]
>
> /static/home.jsp
>
If you're intent on using XML configuration, leave out the class.
>
> /static/home.jsp
>
Dave
-
To unsubscribe, e-mail: [EMAIL PRO
With Struts1, if I wished to render a JSP page without bothering with the
machinery of an action (yet going through the filters/interceptors), I would
have an action mapping as follows:
With Struts2, in the same situation, I would do:
/static/home.jsp
This
5 matches
Mail list logo