Re: using modules with JSPs behind WEB-INF

2006-05-16 Thread Joe Germuska
At 1:58 PM -0500 5/16/06, David Durham wrote: Berk, Jason R. wrote: I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module

Re: using modules with JSPs behind WEB-INF

2006-05-16 Thread David Durham
Berk, Jason R. wrote: I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module name and causes 404 errors on validation failu

using modules with JSPs behind WEB-INF

2006-05-15 Thread Berk, Jason R.
I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module name and causes 404 errors on validation failures. I read all over th

Re: jsp location when using modules

2005-04-14 Thread Andreas Toom
Hello again, The main reason I wanted to use WEB-INF at first was to protect jsp/xml but this would lead to module contents i two places, static content (images etc) in /modulename and pages in WEB-INF/pages/modulename. After trying some things I have decided, for now, to place each module with

Re: jsp location when using modules

2005-04-14 Thread Hubert Rabago
I haven't done this before, but try this: 1. Use the forwardPattern attribute of and give it the same value you're giving pagePattern now. 2. Set up a custom ForwardAction. The existing ForwardAction sets contextRelative which skips the use of forwardPattern. For your custom version, copy the

jsp location when using modules

2005-04-14 Thread Andreas Toom
Hello, We are currently refactoring our Web applications into one application using Struts modules so that we can share common resources more easily between the different modules. Now to the problem, we are currently placing all our jsps in /WEB-INF/pages/ but when introducing modules I get 404

Re: Forward to tile definition when using modules-modules

2005-04-04 Thread brenmcguire
newpage.page where newpage.page is a tile definition. Before using modules all worked fine, but now am getting the following error > > java.lang.IllegalArgumentException: Path AgentWelcomePage.page does not start with a "/" character > > at org.apache.catalina.core.Application

Forward to tile definition when using modules-modules

2005-04-04 Thread haim
of my actions are ending with a forward to a tile definition. For example upon success the the forward is newpage.page where newpage.page is a tile definition. Before using modules all worked fine, but now am getting the following error java.lang.IllegalArgumentException: Path AgentWelcomePage.page

RE: using modules

2005-02-11 Thread Kalra, Ashwani
will not be able call that jsp directly also. /Ashwani -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 7:29 PM To: user@struts.apache.org Subject: Re: using modules You should *not* navigate directly to that page; instead you need

Re: using modules

2005-02-10 Thread Bill Siggelkow
You should *not* navigate directly to that page; instead you need to go through an Action; the only way that Struts will switch the module is if the request is processed by the Struts RequestProcessor. While the JSP might display when accessing it directly, any module-specific resources (e.g.

RE: using modules

2005-02-10 Thread Krishna Srinivasan, ISDC Chennai
directly you can call that file. -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 6:34 PM To: Struts Users Mailing List Subject: using modules hi, I have configured one module "module1" apart from the default module. Can

using modules

2005-02-10 Thread Kalra, Ashwani
hi, I have configured one module "module1" apart from the default module. Can I navigate to the jsp files directly in that module or I have to always make a switch from default to module1 and vice versa ? Here is my directory structure rootContext\file1.jsp rootContext\module1\file2.jsp Thanks

RE: Placing JSPs under WEB-INF using modules

2004-12-01 Thread Daniel Massie
what about for the path attribute of action mappings in the struts config files? Daniel -Original Message- From: Daniel Perry [mailto:[EMAIL PROTECTED] Sent: 01 December 2004 13:04 To: Struts Users Mailing List Subject: RE: Placing JSPs under WEB-INF using modules Yeah, it'

RE: Placing JSPs under WEB-INF using modules

2004-12-01 Thread Daniel Perry
Yeah, it's no problem. Just use forwards like: Daniel. > -Original Message- > From: Daniel Massie [mailto:[EMAIL PROTECTED] > Sent: 01 December 2004 11:58 > To: [EMAIL PROTECTED] > Subject: Placing JSPs under WEB-INF using modules > > > I have a module cal

Placing JSPs under WEB-INF using modules

2004-12-01 Thread Daniel Massie
I have a module called admin, and wish to locate JSPs in /WEB-INF/pages/admin. This however is relative to the default context rather than /admin. Is it possible to place JSPs under the WEB-INF directory when using modules? Thanks Daniel