You can do it. Just remember the whole pipeline of the
RequestProcessor will be executed for the forward.
Paul
On Fri, Dec 5, 2008 at 4:17 AM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> 2008/12/5 hello_everyone <[EMAIL PROTECTED]>:
>> so how can i solve .do issue. the jsp files are not under WEB-
2008/12/5 hello_everyone <[EMAIL PROTECTED]>:
> so how can i solve .do issue. the jsp files are not under WEB-INF. so in
> struts-config.xml it requires path to jsp. and if i try with .do, it finds
> nothing.
As far I remember, you can't use action for forwards, except with
redirect attribute set
so how can i solve .do issue. the jsp files are not under WEB-INF. so in
struts-config.xml it requires path to jsp. and if i try with .do, it finds
nothing.
regards
On Thu, Dec 4, 2008 at 6:22 PM, Greg Lindholm <[EMAIL PROTECTED]> wrote:
>
> You don't need to keep your jsp's under WEB-INF, you c
You don't need to keep your jsp's under WEB-INF, you can setup a security
constraint to prevent access to your raw jsp files.
We keep our jsp's in a /struts folder and use this security constraint in
the web.xml file.
The key is the constraint has no roles so no access is allowed.
Definitely move them under WEB-INF. Otherwise, you can never enforce
people going through your action if they know the JSP address.
At any rate, you can just put the JSP file in the path of the
Paul
On Wed, Dec 3, 2008 at 1:14 AM, hello_everyone <[EMAIL PROTECTED]> wrote:
> Is there any way to
Is there any way to make this work, without moving .jsp pages to web-inf. i
am using Jdeveloper and they are under Web Content->pages
On Tue, Dec 2, 2008 at 3:02 PM, hello_everyone <[EMAIL PROTECTED]>wrote:
>type="mypackage.Test2Action"
> scope="session" validate="false">
>
>
>
>
>
the problem seems to be : jsp pages are not in web-inf. but all other pages
are working with .do except the one which i added.
On Tue, Dec 2, 2008 at 2:06 PM, Lukasz Lenart
<[EMAIL PROTECTED]>wrote:
> 2008/12/2 hello_everyone <[EMAIL PROTECTED]>:
> > > type="mypackage.TestAction"
> >
2008/12/2 hello_everyone <[EMAIL PROTECTED]>:
> type="mypackage.TestAction"
> scope="session" validate="false">
>
> //it works if it change it .jsp
> and add one more level //from path
>
Could you show how this action is configure?
Regards
--
Lukasz
http://www.lenart.org.pl/
---
//it works if it change it .jsp
and add one more level //from path
On Tue, Dec 2, 2008 at 1:21 PM, Lukasz Lenart
<[EMAIL PROTECTED]>wrote:
> 2008/12/2 hello_everyone <[EMAIL PROTECTED]>:
> > i have it like this
> >
> > action
> > *.do
> >
>
> Show alos your struts-config.xml for that action
2008/12/2 hello_everyone <[EMAIL PROTECTED]>:
> i have it like this
>
> action
> *.do
>
Show alos your struts-config.xml for that action
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
application is in 1.2.9 not in struts 2.0
On Tue, Dec 2, 2008 at 1:08 PM, hello_everyone <[EMAIL PROTECTED]>wrote:
> i have it like this
>
> action
> *.do
>
>
> any idea?
>
>
> On Tue, Dec 2, 2008 at 10:42 AM, nikunj <[EMAIL PROTECTED]>wrote:
>
>> Have u put following filters in web.xml?
>>
>>
i have it like this
action
*.do
any idea?
On Tue, Dec 2, 2008 at 10:42 AM, nikunj <[EMAIL PROTECTED]> wrote:
> Have u put following filters in web.xml?
>
>
>
>action
>org.apache.struts.action.ActionServlet
>
>
>
>action
>*.do
>*.jsp
>
>
> Regar
--- On Tue, 12/2/08, hello_everyone wrote:
> I am working on an application, which is developed with
> struts 1.2.9.
>
> I added a .jsp page and action against that page. Now the
> problem is: if in struts-config.xml, I specify the path of
> page with .jsp, it works. But with .do extension it doe
Have u put following filters in web.xml?
action
org.apache.struts.action.ActionServlet
action
*.do
*.jsp
Regards
Nikunj Mulani
-Original Message-
From: hello_everyone [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2008 1:25 PM
14 matches
Mail list logo