>
> Daniel Perry schrieb:
>
> >What exactly is it that you're trying to stop people accessing/doing?
> >
> >Daniel.
> >
> >
> >
> >>-Original Message-
> >>From: Peter Neu [mailto:[EMAIL PROTECTED]
> >>Sent: 10 Novem
accessing/doing?
Daniel.
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: 10 November 2004 14:24
To: Struts Users Mailing List
Subject: Re: Hiding Url File Parameters
OK. Then I will have rely on the filter mechanism
defined in the web.xml.
Regards,
Peter
In short n
What exactly is it that you're trying to stop people accessing/doing?
Daniel.
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: 10 November 2004 14:24
> To: Struts Users Mailing List
> Subject: Re: Hiding Url File Parameters
>
>
> OK.
Mailing List
Subject: Re: Hiding Url File Parameters
Thanks that definitely solved the problem.
Is there also a way to get rid of the Action.do ?
Regards,
Swen
Daniel Perry schrieb:
Yep,
Change your code to:
nextPage = mapping.findForward("struts");
and change the forward to:
Note i
get round this, so really there is no advantage to hiding the url in the
first place.
Daniel.
> -Original Message-
> From: Peter Neu [mailto:[EMAIL PROTECTED]
> Sent: 09 November 2004 19:02
> To: Struts Users Mailing List
> Subject: Re: Hiding Url File Parameters
&g
folder ie jsps
and use /WEB-INF/jsps/struts.jsp
Hope that helps,
Daniel.
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 17:55
To: Struts Users Mailing List
Subject: Re: Hiding Url File Parameters
OK. I tried this :
nextPage = new Act
u [mailto:[EMAIL PROTECTED]
> Sent: 09 November 2004 17:55
> To: Struts Users Mailing List
> Subject: Re: Hiding Url File Parameters
>
>
> OK. I tried this :
>
> nextPage = new ActionForward(mapping.findForward("struts").getPath(),
> false); // set the flag t
ng' jsps is to put them in the WEB-INF directory, and use
forwards (not redirects) as this way the client CANNOT access the jsps
directly.
Daniel.
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 16:41
To: Struts Users Mailing List
Subject: Re: Hiding
u [mailto:[EMAIL PROTECTED]
> Sent: 09 November 2004 16:41
> To: Struts Users Mailing List
> Subject: Re: Hiding Url File Parameters
>
>
> Hello Joe,
>
> the value of the redirect flag is true since I cannot forward when
> it is set to false. I thought this was the re
Hello Joe,
the value of the redirect flag is true since I cannot forward when
it is set to false. I thought this was the regular way to forward
from one jsp-page to another.
Isn't there any other option how I can do the forward and
keep the file-name of the jsp-page out of the URL ?
Best Regards,
At 4:03 PM +0100 11/9/04, Peter Neu wrote:
Hello,
How can I manipulate the URL-Mapping in the
web.xml /struts-config.xml in order to hide
the filenames when I use the ActionForward in an ActionServlet?
Currently the URL displays all the files which I forward to.
Before I posted this message I looke
11 matches
Mail list logo