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
So it would appear that your servlet engine is also serving as your primary HTTP stack? running on port 80? If you ran Apache on port 80 instead and used ajp-proxy for your struts requests, then you could just serve all your static resources directly from apache. Now, if you want an integrate

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