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
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
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
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
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
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
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
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
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
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.
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
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
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'
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
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
15 matches
Mail list logo