Re: Struts2 Application Structure

2008-08-18 Thread Stephan Schröder
Annother middle way would be to use the plain text result and no separate class attribute like this action name=intro interceptor-ref name=myAuth/ result type=plaintext/intro.html/result /action Advantages: -no own Action class (ActionSupport is used) -your static resources don't get

Re: Struts2 Application Structure

2008-08-17 Thread dusty
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Struts2-Application-Structure-tp19010085p19025840.html Sent from the Struts - User mailing list archive at Nabble.com

Struts2 Application Structure

2008-08-16 Thread Roger
Having followed this group for a while I know that the generally accepted wisdom is that every page should be handled via an Action. However, I have an application that is probably going to be 70% static pages with 30% Strut-able actions to handle form entry etc etc. This means that I'm going

Re: Struts2 Application Structure

2008-08-16 Thread Al Sutton
Not sure where you get the action-per page is the generally accepted norm, but if your page is purely static (i.e. accesses no variables and includes no forms), go straight to the html page. Not only does this save you the JSP compile/post-compile interpretation time it also allows you to

Re: Struts2 Application Structure

2008-08-16 Thread Jeromy Evans
Al Sutton wrote: Not sure where you get the action-per page is the generally accepted norm, but if your page is purely static (i.e. accesses no variables and includes no forms), go straight to the html page. Not only does this save you the JSP compile/post-compile interpretation time it also

Re: Struts2 Application Structure

2008-08-16 Thread Roger
On Saturday 16 August 2008 13:06:19 Al Sutton wrote: Not sure where you get the action-per page is the generally accepted norm, but if your page is purely static (i.e. accesses no variables and includes no forms), go straight to the html page. Not only does this save you the JSP

Re: Struts2 Application Structure

2008-08-16 Thread Al Sutton
Roger wrote: Any link http://www.host.com/MyApplication passes directly to Struts 2. Only if you're using a strange configuration that says it should. Otherwise http://www.host.com/MyApplication/blah.jsp will be processed in the same way as any other jsp, and

RE: Struts2 Application Structure

2008-08-16 Thread Martin Gainty
Subject: Re: Struts2 Application Structure Roger wrote: Any link http://www.host.com/MyApplication passes directly to Struts 2. Only if you're using a strange configuration that says it should. Otherwise http://www.host.com/MyApplication/blah.jsp will be processed in the same way