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
]
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
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
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
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
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
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
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
8 matches
Mail list logo