RE: How to Redirect to a status Page on HTTP status 403

2003-11-11 Thread alvin antony
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

RE: How to Redirect to a status Page on HTTP status 403

2003-11-11 Thread Saul Q Yuan
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

RE: How to Redirect to a status Page on HTTP status 403

2003-11-11 Thread alvin antony
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

RE: How to Redirect to a status Page on HTTP status 403

2003-11-11 Thread Saul Q Yuan
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

How to Redirect to a status Page on HTTP status 403

2003-11-11 Thread alvin antony
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...

Re: how to redirect url without losing attached request attributes

2003-07-16 Thread John Loring
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

how to redirect url without losing attached request attributes

2003-07-16 Thread Younis, Shahzaib
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

Re: How to redirect to "http://www.cnn.com" from Struts Action?

2003-06-13 Thread Doug Bryant
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

Re: How to redirect to "http://www.cnn.com" from Struts Action?

2003-06-13 Thread Tim Torbeyns
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,

How to redirect to "http://www.cnn.com" from Struts Action?

2003-06-13 Thread J. Jason Zhou
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] -

RE: How to REDIRECT?

2003-01-30 Thread Kevin Tung
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

RE: How to REDIRECT?

2003-01-30 Thread Joe Barefoot
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

How to REDIRECT?

2003-01-30 Thread michael . korolyov
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

RE: How to Redirect ???

2002-11-18 Thread David Graham
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

RE: How to Redirect ???

2002-11-18 Thread Kris Schneider
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

RE: How to Redirect ???

2002-11-18 Thread David Bolsover
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

Re: How to Redirect ???

2002-11-18 Thread Kris Schneider
> 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

Re: How to Redirect ???

2002-11-18 Thread Brian Hickey
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

Re: How to Redirect ???

2002-11-18 Thread Kris Schneider
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

RE: How to Redirect ???

2002-11-18 Thread Trieu, Danny
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

How to Redirect ???

2002-11-18 Thread wolfgang
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

RE: How to redirect to login page

2002-01-27 Thread Duncan Harris
[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

Re: How to redirect to login page

2002-01-25 Thread Ted Husted
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'

Re: How to redirect to login page

2002-01-25 Thread Christian Bouessay
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

RE: How to redirect to login page

2002-01-24 Thread Reid Pinchback
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

RE: How to redirect to login page

2002-01-24 Thread Jeff Oberlander
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

How to redirect to login page

2002-01-24 Thread Sivasankaran, Vijay
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

RE: How to redirect user to the protected page after forced login

2002-01-18 Thread Alex Paransky
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:

How to redirect user to the protected page after forced login

2002-01-18 Thread Eric Ma
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

Re: How to redirect to the input jsp page from the formbean's validate method instead of populating ActionErrors.

2001-03-31 Thread Craig R. McClanahan
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 >

RE: How to redirect to the input jsp page from the formbean's validat e method instead of populating ActionErrors.

2001-03-29 Thread Jacob Thomas
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&#

RE: How to redirect to the input jsp page from the formbean's validat e method instead of populating ActionErrors.

2001-03-29 Thread Jacob Thomas
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

Re: How to redirect to the input jsp page from the formbean's validat emethod instead of populating ActionErrors.

2001-03-29 Thread suresh
"Suriyanarayanan, Senthil Kumar" cc: Subject: How to r

How to redirect to the input jsp page from the formbean's validate method instead of populating ActionErrors.

2001-03-28 Thread Suriyanarayanan, Senthil Kumar
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.