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 /intro.html Advantages: -no own Action class (ActionSupport is used) -your static resources don't get processed which should save time -you can still your Security interceptors to check t

Re: Struts2 Application Structure

2008-08-17 Thread dusty
l: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] > > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

RE: Struts2 Application Structure

2008-08-16 Thread Martin Gainty
r@struts.apache.org > 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.ho

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 http://www.host.com/MyApplicati

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 compile/p

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 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 move

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 to