I have a modified version of the struts-example that demostrates how to do
this.

Would you care for a copy?


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 11:43 AM
> To: Struts
> Subject: RE: Access JSP in the WEB-INF
>
>
> Im in a bit of a rush right now to try and get a taxi home before the
> midnight charge kicks in, but Im sure there are many others out there who
> can give you a good example (right guys???)
>
> -----Original Message-----
> From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 23:34
> To: '[EMAIL PROTECTED]'
> Subject: RE: Access JSP in the WEB-INF
>
>
> Can you send me a sample on how to do this in my action
>
> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 11:14 AM
> To: Struts Users Mailing List
> Subject: RE: Access JSP in the WEB-INF
>
>
> Once they are under web-inf a direct access from the client will not be
> allowed by the container, however forwards on the server side are allowed,
> thus to get to the JSP you can forward to it from an Action.
> The benefit of this is that users will not be able to hit your JSP without
> first going through an Action, and thus through the struts
> front-controller
> thinghy. You can thus ensure that everything is set up that that JSP needs
> (ie: beans in the request etc...) or could redirect them to another jsp or
> action if business logic demanded it...
>
> -----Original Message-----
> From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 23:08
> To: '[EMAIL PROTECTED]'
> Subject: Access JSP in the WEB-INF
>
>
> I was reading that I should put all my JSP inside the WEB-INF dir
> so clients
> cant access them without going to the controller.
>
> My issues is that How do I access them??  can someone please tell
> me how to
> setup my Action so I can display the JSP files??
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



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

Reply via email to