lvin antony [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 10:52 AM
To: Struts Users Mailing List
Subject: RE: How to Redirect to a status Page on HTTP status 403
Hi Saul,
Thanks for your replay. I knew this is one solution. But in my case the
user is redirected to status message from Struts
AM
To: Struts Users Mailing List
Subject: RE: How to Redirect to a status Page on HTTP status 403
Hi Saul,
Thanks for your replay. I knew this is one solution. But in my case the
user is redirected to status message from Struts controller or tomcat
authenticator. I would prefer to redirect the user
the role;
Saul
-Original Message-
From: alvin antony [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 9:49 AM
To: Struts Users Mailing List
Subject: How to Redirect to a status Page on HTTP status 403
Hi there,
I have restricted the access to my actions with user Roles (in
s
rs Mailing List
Subject: How to Redirect to a status Page on HTTP status 403
Hi there,
I have restricted the access to my actions with user Roles (in
struts-config.xml and WEB.xml) and it works fine.. Thanks to JAAS.
I couldn't't find the way to redirect user request to a status error
pag
Hi there,
I have restricted the access to my actions with user Roles (in struts-config.xml and
WEB.xml) and it works fine.. Thanks to JAAS.
I couldn't't find the way to redirect user request to a status error page, in case he
is not in the Role for requesting a page. any help?
I am using...
No, you should forward instead of redirecting. You could consider pulling the needed
info out of the old request parameters and manually concatenating it onto the redirect
url as query parameters, but there still may be request attributes to deal with.
Forward if at all possible.
--John
"You
In case of validation error, It gets forward to forward "failure" and xsl
renders errors saved into request.
but if set the redirect=true for forward failure then it forwards to given
url but erase all attached requests
it seems it issue as new request,
is there any way I can redirect to specifi
I believe this will work
declare this forward as a global or local forward
http://www.cnn.com"; redirect="true"/>
from an action do: return mapping.findForward("cnn")
or from a jsp call (has to be global for
jsp one to work.
Hope this helps.
Doug
On Fri, 2003-06-13 at 15:46, J. Jason Zho
http://www.mail-archive.com/[EMAIL PROTECTED]/msg40448.html
--- "J. Jason Zhou" <[EMAIL PROTECTED]> wrote: > It seems Struts
ALWAYS prefix myapp context so it becomes
>
> /myapp/http://www.cnn.com
>
> --
> Best Regards,
>
> J. Jason Zhou
> Business Intelligence Platform Division (BIP), R & D,
It seems Struts ALWAYS prefix myapp context so it becomes
/myapp/http://www.cnn.com
--
Best Regards,
J. Jason Zhou
Business Intelligence Platform Division (BIP), R & D,
SAS Institute, 100 SAS Campus Dr.
Cary, North Carolina 27513-8617
Voice: 919-531-0568(O)
Email: [EMAIL PROTECTED]
-
try specifying
KT
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 1:16 PM
To: [EMAIL PROTECTED]
Subject: How to REDIRECT?
Hello,
how to say to IE (browser) to change url? use redirect instead forward.
one Action class call
URL in the header.
--joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: How to REDIRECT?
>
>
> Hello,
>
> how to say to IE (browser) to change url? use re
Hello,
how to say to IE (browser) to change url? use redirect instead forward.
one Action class call another as it defined in struts-config.xml -
SaveAction --> ListAction
the List.jsp has "refresh" meta tag
and it need to call list.do, but IE still h
This is a known issue and is currently being worked on in 1.1.
David
From: Kris Schneider <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: How to Re
orward = mapping.findForward("success");
> forward.setPath(sb.toString);
> forward.setRedirect(true);
> mapping.addForward(forward);
>
> return forward;
>
> > -----Original Message-
> > From: Kris Schneider [mailto:[EMAIL PROTECTED]]
> > Sent: 1
2002 17:47
> To: Struts Users Mailing List
> Subject: Re: How to Redirect ???
>
>
> Another thought is that you could still use a element to define an
> external resource:
>
>
> http://www.yahoo.com"/>
> http://www.sun.com"/>
>
>
&g
> The advantage of this method is logging which can be done in the class and
> you have no context other than what you specify in the
> tag.
>
>
> Brian
>
>
>
> - Original Message -
> From: "Kris Schneider" <[EMAIL PROTECTED]>
&g
st" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 11:58 AM
Subject: Re: How to Redirect ???
> That's not what the contextRelative attribute means. Here's the snippet
from
> the 1.1 DTD:
>
> contextRelative Set this to "true" if, in a modular applic
e tag where you
> can set to 'true'?
>
> -Original Message-
> From: wolfgang [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 18, 2002 8:15 AM
> To: [EMAIL PROTECTED]
> Subject: How to Redirect ???
>
>
> Hi there,
>
> I wanna make users redi
Isn't there is a contextrelative attribute in the tag where you
can set to 'true'?
-Original Message-
From: wolfgang [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 8:15 AM
To: [EMAIL PROTECTED]
Subject: How to Redirect ???
Hi there,
I wanna make use
Hi there,
I wanna make users redirect(not forward) to http://www.yahoo.com , but
cannot make it...
I added the following elements in the struts-config.xml
http://www.yahoo.com"; redirect="true" />
and the following code in the execute method of the Action class.
return mapping.findForward
[EMAIL PROTECTED] (Reid Pinchback) wrote:
> Another alternative is used by the workflow extension
> listed on the Struts resources page. You can create
> a base action class that does the checking in its
> perform method, then calls some other method
> provided by the concrete subclass to do the
A common approach is to
(1) Route all control through an Action, even if all the Action does is
forward to the JSP.
(2) Have the Action check for a session property or a cookie which
indicates whether they have logged in.
For (1), a single continue Action can be used for any page that doesn'
Reid Pinchback wrote:
> Another alternative is used by the workflow extension
> listed on the Struts resources page. You can create
> a base action class that does the checking in its
> perform method, then calls some other method
> provided by the concrete subclass to do the normal
> work if t
Jeff Oberlander <[EMAIL PROTECTED]> wrote:
Set a session variable in first.jsp, then create a custom tag that checks
for that session variable and place the custom tag in second.jsp and
third.jsp. If the session variable isn't there, forward to first.jsp. The
sample app does this exact proce
t how
that works.
Jeff
-Original Message-
From: Sivasankaran, Vijay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 10:18 AM
To: '[EMAIL PROTECTED]'
Subject: How to redirect to login page
Hi,
I have three jsp which uses the struts framework
first.jsp->second.js
Hi,
I have three jsp which uses the struts framework
first.jsp->second.jsp->third.jsp
the second.jsp and third.jsp use the action form data of the first.jsp using
tag. All these works fine.
But this poses a problem. I want the user to be redirected to first.jsp
whenever they access second
ss. Seems to me it should work the same in
all J2EE compliant servers.
-AP_
-Original Message-
From: Eric Ma [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: How to redirect user to the protected page after forced login
Scenario:
Scenario: I need to implement a security scheme so that when a user tries to access a
secure page without logging in first, (s)he is sent to the login form page. Upon
successful authentication, the original page which the user tried to access.
App server is WebLogic 6.1 SP1, as a result, I ca
On Wed, 28 Mar 2001, Suriyanarayanan, Senthil Kumar wrote:
> Hello,
> How do I redirect to the input jsp page from the formbean's validate
> method instead of populating ActionErrors. I knew redirecting from the
> perform method of the Action object, wondering is it possible to simulate
>
We can use mapping.getInput() to forward to the "input" page.
--
Jacob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 4:18 AM
To: [EMAIL PROTECTED]
Subject: Re: How to redirect to the input jsp page from the formbean
PROTECTED]
Subject: How to redirect to the input jsp page from the formbean's
validat e method instead of populating ActionErrors.
Hello,
How do I redirect to the input jsp page from the formbean's validate
method instead of populating ActionErrors. I knew redirecting from the
perform
"Suriyanarayanan, Senthil Kumar"
cc:
Subject: How to
r
Hello,
How do I redirect to the input jsp page from the formbean's validate
method instead of populating ActionErrors. I knew redirecting from the
perform method of the Action object, wondering is it possible to simulate
the same from the validate method.
Thanks in advance,
Senthil Kumar.
34 matches
Mail list logo