Re: JSP's under WEB-INF and Struts modules

2003-02-03 Thread Malik Recoing
Hi, I've got the same problem. The solution is to use forwardPattern and inputForward options to have complex, pattern based, repalcement of the uri : http://jakarta.apache.org/struts/userGuide/configuration.html#controller_con fig But after few tests and a look at the source code of struts b3

RE: JSP's under WEB-INF... or not

2002-12-01 Thread Craig R. McClanahan
On Fri, 29 Nov 2002, Wendy Cameron wrote: Date: Fri, 29 Nov 2002 09:22:20 +1000 From: Wendy Cameron [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF... or not I have been trying out

RE: JSP's under WEB-INF... or not

2002-12-01 Thread Wendy Cameron
write a filter form JSP's Regards Wendy -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:21 AM To: Struts Users Mailing List Subject: RE: JSP's under WEB-INF... or not On Fri, 29 Nov 2002, Wendy Cameron wrote: Date

RE: JSP's under WEB-INF... or not

2002-12-01 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Wendy Cameron wrote: Date: Mon, 2 Dec 2002 11:24:41 +1000 From: Wendy Cameron [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF... or not Yup this makes sense. I

RE: JSP's under WEB-INF... or not

2002-11-28 Thread Wendy Cameron
-Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 3:54 PM To: Struts Users Mailing List Subject: RE: JSP's under WEB-INF... or not On Tue, 19 Nov 2002, David Graham wrote: You can keep your jsps in public folders and protect them

RE: JSP's under WEB-INF... or not

2002-11-28 Thread Wendy Cameron
Wouldnt it be easier and more portable to simply write a servlet filter that redirects to accessDenide.screen view? Regards Wendy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: JSP's under WEB-INF... or not

2002-11-21 Thread Erik Beijnoff
Just curious - why would one choose to do this instead of simply locating their JSP pages under WEB-INF (which is also portable)? Well, the way I look at it, the WEB-INF is a container for application resource files and meta data, not for the real application. Also, if you put your stuff in

Re: JSP's under WEB-INF... or not

2002-11-19 Thread Jeff_Mychasiw
We are using tiles in this way without any problems. We are using the tile-definition.xml . put name=mainContent value=/WEB-INF/customer/form/CustomerHistoryForm.jsp / In addition, style sheets and inages work well with the rewrite tag. Wendy Smoak [EMAIL PROTECTED] on 11/19/2002

RE: JSP's under WEB-INF... or not

2002-11-19 Thread Wendy Smoak
Jeff wrote: We are using tiles in this way without any problems. We are using the tile-definition.xml put name=mainContent value=/WEB-INF/customer/form/CustomerHistoryForm.jsp / Thank you! It's good to know someone has it working already. :) I'm only up to the: tiles:add value=header.jsp /

RE: JSP's under WEB-INF... or not

2002-11-19 Thread edgar
The only reason with struts to put the jsp's under the web-inf is to guarantee that your actions are executed in the expected manner. If you leave the jsp's in a public directory then it is possible to execute them out of sequence or without the proper form load / unload since the web server will

RE: JSP's under WEB-INF... or not

2002-11-19 Thread David Graham
List' [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF... or not Date: Tue, 19 Nov 2002 18:42:52 -0500 The only reason with struts to put the jsp's under the web-inf is to guarantee that your actions are executed in the expected manner. If you leave the jsp's in a public directory

RE: JSP's under WEB-INF... or not

2002-11-19 Thread Martin Cooper
role-namenobody/role-name /security-role From: edgar [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF... or not Date: Tue, 19 Nov 2002 18:42:52 -0500 The only reason with struts to put the jsp's

RE: JSP's under WEB-INF... or not

2002-11-19 Thread David Graham
List [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF... or not Date: Tue, 19 Nov 2002 21:54:00 -0800 (PST) On Tue, 19 Nov 2002, David Graham wrote: You can keep your jsps in public folders and protect them with this security rule in your web.xml file. This keeps your application portable

RE: JSP's under WEB-INF... or not

2002-11-19 Thread Martin Cooper
them big time about this. ;-) -- Martin Cooper David From: Martin Cooper [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF... or not Date: Tue, 19 Nov 2002 21:54:00 -0800 (PST

RE: JSP's under WEB-INF?

2002-06-14 Thread Yaman Kumar
logic:forward name=next / -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 June 2002 5:01 AM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: JSP's under WEB-INF? In looking at the Struts doc, is there any reason why the following

Re: JSP's under WEB-INF?

2002-06-07 Thread Ted Husted
Users Mailing List [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF? The best practices also points out using /do/* instead of /*.do so in your example it should be /do/next. Whether you use path matching or extension matching is mostly an issue of personal taste, but one warning

RE: JSP's under WEB-INF?

2002-06-06 Thread James Mitchell
That’s because you are not following the recommendation 100% You should always go through an action. even if next.jsp is a simple form..use “/next.do” instead that way you can put this in your struts-config: !-- go to next -- actionpath=/next

RE: JSP's under WEB-INF?

2002-06-06 Thread James Mitchell
I’ve re-written the struts-example to follow this pattern. Here’s the link... http://struts-atlanta.open-tools.org/struts-example-jsp-mod.zip James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org ICQ: 27651409

RE: JSP's under WEB-INF?

2002-06-06 Thread Jerry Jalenak
: JSP's under WEB-INF? That's because you are not following the recommendation 100% You should always go through an action. even if next.jsp is a simple form..use /next.do instead that way you can put this in your struts-config: !-- go to next -- actionpath=/next

RE: JSP's under WEB-INF?

2002-06-06 Thread James Mitchell
PROTECTED]] Sent: Thursday, June 06, 2002 7:31 PM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: JSP's under WEB-INF? In looking at the Struts doc, is there any reason why the following wouldn't work just as well? in the JSP html:link forward=next

RE: JSP's under WEB-INF?

2002-06-06 Thread Nathan Anderson
It sounds like you are using Struts in this application. The way you would simply forward to a .jsp in Struts would be to access that .jsp from a forward. This requires a couple of changed to the struts-config.xml.. In the action-mappings section add this line: action path=/next

RE: JSP's under WEB-INF?

2002-06-06 Thread Nathan Anderson
Ignore my I think you are using struts comment I just realized you are on the Struts list [not the JUG list I thought I was replying to -- DOE!] Nathan -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 4:23 PM To: '[EMAIL PROTECTED]'

RE: JSP's under WEB-INF?

2002-06-06 Thread James Mitchell
AOL;) -Original Message- From: Nathan Anderson [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 7:39 PM To: Struts Users Mailing List Subject: RE: JSP's under WEB-INF? Ignore my I think you are using struts comment I just realized you are on the Struts list [not the JUG

RE: JSP's under WEB-INF?

2002-06-06 Thread Jerry Jalenak
Thanks to everyone! Finally got everything in place in struts-config, tested, and it works like a charm! Jerry -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 6:47 PM To: Struts Users Mailing List Subject: RE: JSP's under WEB-INF? Yes

RE: JSP's under WEB-INF?

2002-06-06 Thread James Ward
The best practices also points out using /do/* instead of /*.do so in your example it should be /do/next. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 5:30 PM To: Struts Users Mailing List Subject: RE: JSP's under WEB-INF

RE: JSP's under WEB-INF?

2002-06-06 Thread Craig R. McClanahan
On Thu, 6 Jun 2002, James Ward wrote: Date: Thu, 6 Jun 2002 18:16:41 -0600 From: James Ward [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: JSP's under WEB-INF? The best practices also points out using