RE: Access JSP in the WEB-INF

2002-10-09 Thread James Mitchell

Thank you.

I've spent many a late night by the laptop getting totally immersed in the
Struts codebase.
Sometimes, if you hold up a Conk shell to your ear, you can hear me pecking
away on some distant shore ;) LOL

Thanks to the almighty Gurus answering questions over the years.  They have
helped me more than 50 books ever could.  (I *actually* have a separate
folder in Outlook for saving useful emails, and under it I have another
folder called "Gurus" which I keep copies of old emails from the Strut's
Best.)

Have a good one!

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org



> -Original Message-
> From: micael [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 2:13 PM
> To: Struts Users Mailing List
> Subject: RE: Access JSP in the WEB-INF
>
>
> This is very helpful to a sort of newbie like myself.  Thanks for
> making it
> available.  I learn best from seeing the code.  This is worth more to me
> than ten books.
>
> At 11:18 AM 10/9/2002 -0400, you wrote:
> >Yes, here it is.
> >
> >http://www.open-tools.org/struts-atlanta/downloads
> >
> >James Mitchell
> >Software Engineer/Struts Evangelist
> >http://www.open-tools.org
> >
> > > -Original Message-
> > > From: Borek [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, October 09, 2002 8:46 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Access JSP in the WEB-INF
> > >
> > >
> > > Could you send me this example?
> > >
> > > Regards
> > > Borek
> > >
> > > >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
> > >
> > >
> > >
> >
> >--
> >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]>




RE: Access JSP in the WEB-INF

2002-10-09 Thread micael

This is very helpful to a sort of newbie like myself.  Thanks for making it 
available.  I learn best from seeing the code.  This is worth more to me 
than ten books.

At 11:18 AM 10/9/2002 -0400, you wrote:
>Yes, here it is.
>
>http://www.open-tools.org/struts-atlanta/downloads
>
>James Mitchell
>Software Engineer/Struts Evangelist
>http://www.open-tools.org
>
> > -Original Message-
> > From: Borek [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 09, 2002 8:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Access JSP in the WEB-INF
> >
> >
> > Could you send me this example?
> >
> > Regards
> > Borek
> >
> > >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
> >
> >
> >
>
>--
>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]>




RE: Access JSP in the WEB-INF

2002-10-09 Thread micael

Never mind, Jim.  Global forward -- duh!  Brain freeze there for a moment!

At 11:18 AM 10/9/2002 -0400, you wrote:
>Yes, here it is.
>
>http://www.open-tools.org/struts-atlanta/downloads
>
>James Mitchell
>Software Engineer/Struts Evangelist
>http://www.open-tools.org
>
> > -Original Message-
> > From: Borek [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 09, 2002 8:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Access JSP in the WEB-INF
> >
> >
> > Could you send me this example?
> >
> > Regards
> > Borek
> >
> > >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
> >
> >
> >
>
>--
>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]>




RE: Access JSP in the WEB-INF

2002-10-09 Thread James Mitchell

I define a global forward.

...
...
  

...
...



James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

> -Original Message-
> From: micael [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 2:07 PM
> To: Struts Users Mailing List
> Subject: RE: Access JSP in the WEB-INF
>
>
> How does the:
>
> Jim,
>
> How does "" in myapp/index.jsp get
> you to the
> myapp/WEB-INF/index.jsp?
>
> Micael
>
> At 11:18 AM 10/9/2002 -0400, you wrote:
> >Yes, here it is.
> >
> >http://www.open-tools.org/struts-atlanta/downloads
> >
> >James Mitchell
> >Software Engineer/Struts Evangelist
> >http://www.open-tools.org
> >
> > > -Original Message-
> > > From: Borek [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, October 09, 2002 8:46 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Access JSP in the WEB-INF
> > >
> > >
> > > Could you send me this example?
> > >
> > > Regards
> > > Borek
> > >
> > > >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
> > >
> > >
> > >
> >
> >--
> >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]>




RE: Access JSP in the WEB-INF

2002-10-09 Thread micael

How does the:

Jim,

How does "" in myapp/index.jsp get you to the 
myapp/WEB-INF/index.jsp?

Micael

At 11:18 AM 10/9/2002 -0400, you wrote:
>Yes, here it is.
>
>http://www.open-tools.org/struts-atlanta/downloads
>
>James Mitchell
>Software Engineer/Struts Evangelist
>http://www.open-tools.org
>
> > -Original Message-
> > From: Borek [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 09, 2002 8:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Access JSP in the WEB-INF
> >
> >
> > Could you send me this example?
> >
> > Regards
> > Borek
> >
> > >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
> >
> >
> >
>
>--
>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]>




RE: Access JSP in the WEB-INF

2002-10-09 Thread James Mitchell

Yes, here it is.

http://www.open-tools.org/struts-atlanta/downloads

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

> -Original Message-
> From: Borek [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 8:46 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Access JSP in the WEB-INF 
> 
> 
> Could you send me this example?
> 
> Regards
> Borek
> 
> >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
> 
> 
> 

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




Re: Access JSP in the WEB-INF - PART2

2002-09-30 Thread Eddie Bush

Does it do the right thing?  Does it do the thing right?  Ok - there you 
go :-)

Seriously though - it sounds like you're right on-track to me ...

-- 
Eddie Bush



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Access JSP in the WEB-INF

2002-09-30 Thread Smith, Johnathan M.

Yes. please send it to me

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 12:25 PM
To: Struts Users Mailing List
Subject: RE: Access JSP in the WEB-INF


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




RE: Access JSP in the WEB-INF

2002-09-30 Thread James Mitchell

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




RE: Access JSP in the WEB-INF

2002-09-30 Thread Billy Ng

I was told I could do this;





Billy Ng

>From: "Andrew Hill" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: "Struts" <[EMAIL PROTECTED]>
>Subject: RE: Access JSP in the WEB-INF
>Date: Mon, 30 Sep 2002 23:43:12 +0800
>
>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]>



_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




RE: Access JSP in the WEB-INF

2002-09-30 Thread Andrew Hill

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




RE: Access JSP in the WEB-INF

2002-09-30 Thread Andrew Hill

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:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: