Re: .do and .jsp

2008-12-05 Thread Paul Benedict
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-

Re: .do and .jsp

2008-12-05 Thread Lukasz Lenart
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

Re: .do and .jsp

2008-12-05 Thread hello_everyone
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

Re: .do and .jsp

2008-12-04 Thread Greg Lindholm
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.

Re: .do and .jsp

2008-12-02 Thread Paul Benedict
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

Re: .do and .jsp

2008-12-02 Thread hello_everyone
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"> > > > > >

Re: .do and .jsp

2008-12-02 Thread hello_everyone
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" > >

Re: .do and .jsp

2008-12-02 Thread Lukasz Lenart
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/ ---

Re: .do and .jsp

2008-12-02 Thread hello_everyone
//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

Re: .do and .jsp

2008-12-02 Thread Lukasz Lenart
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]

Re: .do and .jsp

2008-12-02 Thread hello_everyone
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? >> >>

Re: .do and .jsp

2008-12-02 Thread hello_everyone
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

Re: .do and .jsp

2008-12-02 Thread Dave Newton
--- 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

RE: .do and .jsp

2008-12-02 Thread nikunj
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