There's a key phrase in that first sentence:

:...To take the full advantage of sub-application support...."

to take advantage of.
sub application support.


From: e <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: struts 1.1 question Date: Mon, 11 Aug 2003 16:56:54 -0400


From the article at link below....


Direct Requests to JSPs

To take the full advantage of sub-application support, Struts 1.1 stipulates the requirement that all requests must flow through the controller servlet, i.e. the ActionServlet. Effectively, this means all JSPs must be fronted by Actions. Instead of allowing direct requests to any of the JSPs, all requests must go through an Action and let the Action forward to the appropriate JSP.

This is perhaps the biggest impact of migration to Struts 1.1 if you have not followed this idiom in your applications. This restriction is required because without going through the ActionServlet, Struts navigation taglibs (e.g. <html:form> and <html:link>) used in the JSPs will not have the correct sub-app context to work with.

http://www.theserverside.com/resources/article.jsp?l=Struts1_1




At 8/11/2003 04:48 PM, you wrote:
Where exactly did you read that all jsps must be fronted by actions? I'm using 1.1, and assuredly have NOT (nor will I) front them all with actions.


From: e <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: struts 1.1 question Date: Mon, 11 Aug 2003 16:37:28 -0400


I am about to upgrade to struts 1.1 and I have a question.
I have a site with a decent amount of content stored in a content manager.
I want to use tiles, but I read that in struts 1.1, all jsps have to be fronted by actions.
Does this mean that I have to write forwards in strutsconfig.xml for every single jsp on the site?
This could add up to a lot of pages.


Am I interpreting this correctly?

Thanks.

-e



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to