RE: redirecting to another action

2004-03-17 Thread Ramadoss Chinnakuzhandai
ActionA ===calling===ActionB In the forward attribute of actionmapping of ActionA specify the action path of ActionB action name=actionAForm type=ActionA scope=request/session validate=true input=xyz.do path=/A/do forward name=callActionB path=/B/do redirect=true /

RE: redirecting to another action

2004-03-17 Thread Vanessa Monteiro
If I need to pass the method name to be executed in ActionB I can do it using setAttributes, right? _ Vanessa Monteiro Analista de Sistemas Quality Software 3475-3000 r:5062 [EMAIL PROTECTED] 17/03/2004 16:10:12 ActionA ===calling===ActionB In the forward attribute of

RE: redirecting to another action

2004-03-17 Thread Ramadoss Chinnakuzhandai
] Sent: Wednesday, March 17, 2004 2:18 PM To: [EMAIL PROTECTED] Subject: RE: redirecting to another action If I need to pass the method name to be executed in ActionB I can do it using setAttributes, right? _ Vanessa Monteiro Analista de Sistemas Quality Software 3475-3000 r

Re: redirecting to Google...

2004-03-16 Thread Timothy Stone
Timothy Stone wrote: List, Struts noob. I'm checking a form for a parameter that determines whether the user is searching the web at large or the local site: input type=radio name=isLocal value=true/Sitenbsp; input type=radio name=isLocal value=false/Web If false.equalsIgnoreCase( isLocal )

RE: redirecting to Google...

2004-03-16 Thread Wendy Smoak
From: Timothy Stone [mailto:[EMAIL PROTECTED] How do I do this? I think I'm looking for something similar to this, which is what I'm most familiar with: response.sendRedirect(http://www.google.com/search?q=; + queryString); I've never done this from an Action, but I *think* you can do

Re: redirecting to fully qualified hostname

2004-01-13 Thread Brice Ruth
What you're likely running into is the fact that the cookie that the application server uses to track a user's session object, is very specific to what host can read the cookie. I use Apache and one of the things I've done is set a configuration parameter UseCanonicalName to be on - it

Re: redirecting to fully qualified hostname

2004-01-13 Thread Craig R. McClanahan
Quoting Fullam, Jonathan [EMAIL PROTECTED]: All, The application I am working on is secured with a login that required a username and password. Once a user is logged in, all pages can be accessed as long as there is a Subject object in the Session. My problem is that part of the webapp

RE: redirecting insead of forward.

2003-12-01 Thread Kalra, Ashwani
its redirect(true or false) attribute in actionforward tag -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 5:41 PM To: struts Subject: redirecting insead of forward. Hi, Is it possible to tell the controller that redirect to next page

Re: Redirecting after logon...

2003-11-17 Thread Adam Hardy
On 11/17/2003 05:29 AM Craig Edwards wrote: To complete process X, the user has to perform 5 steps. The user can perform steps 1, 2 and 3 with or without being logged on, but they must be logged on to perform steps 4 and 5. Obviously, I can have a specific check in step 4, but I would like,

Re: Redirecting after logon...

2003-11-17 Thread Susan Bradeen
I have been using the following for returning the user to their intended URL after a login, and have had good luck with it ... - In the Base Action class - if (someCheckFor.loggedInUser() == null) { StringBuffer goToPath = new StringBuffer(request.getServletPath()); if

Re: Redirecting after logon...

2003-11-17 Thread Adam Hardy
On 11/17/2003 02:31 PM Susan Bradeen wrote: I have been using the following for returning the user to their intended URL after a login, and have had good luck with it ... - In the Base Action class - if (someCheckFor.loggedInUser() == null) { StringBuffer goToPath = new

Re: Redirecting after logon...

2003-11-17 Thread Kris Schneider
Just a note that ActionServlet only implements doGet and doPost so I imagine you'll get some sort of method-not-supported error (inherited from HttpServlet) if you send it a PUT request. Quoting Adam Hardy [EMAIL PROTECTED]: On 11/17/2003 02:31 PM Susan Bradeen wrote: I have been using the

Re: Redirecting after logon...

2003-11-17 Thread Adam Hardy
Sorry, I meant post On 11/17/2003 05:58 PM Kris Schneider wrote: Just a note that ActionServlet only implements doGet and doPost so I imagine you'll get some sort of method-not-supported error (inherited from HttpServlet) if you send it a PUT request. Quoting Adam Hardy [EMAIL PROTECTED]: Susan,

Re: Redirecting after logon...

2003-11-17 Thread Max Cooper
Craig Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... You could do that... or you could do it the J2EE way, decleratively without any coding, letting container do it that way: Thanks for the reply Vic. I can see how

Re: Redirecting after logon...

2003-11-17 Thread Craig Edwards
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... As long as you have users that have passwords, and that might be in zero or more roles, it should be relatively easy to write a realm implementation that would access your custom user information repository. That would allow you to make

Re: Redirecting after logon...

2003-11-16 Thread Craig Edwards
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... You could do that... or you could do it the J2EE way, decleratively without any coding, letting container do it that way: Thanks for the reply Vic. I can see how that would be the way to go if I were starting from scratch.

RE: redirecting

2003-10-28 Thread Navjot Singh
sendRedirect() is OK to use. Go ahead. -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: redirecting hi! i have to redirect the user from within my action class to an external site. i'm currently doing

RE: redirecting to HTTPS

2003-03-09 Thread Sterin, Ilya
Hey, thanks a lot. All now works. Ilya -Original Message- From: alexj [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:48 PM To: Struts Users Mailing List Subject: Re: redirecting to HTTPS The first thing you will need to do is to update the actionmapping type definition

Re: redirecting to HTTPS

2003-03-06 Thread alexj
Have a look for SSLext. (you may find a sample with it) -- Alexandre Jaquet - Original Message - From: Sterin, Ilya [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 07, 2003 1:16 AM Subject: redirecting to HTTPS What's the easiest way to

RE: redirecting to HTTPS

2003-03-06 Thread Sterin, Ilya
Ah, great, just found it, but I can't find any examples to go with it, nor a user's guide. Any links? :-) Ilya -Original Message- From: alexj [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 7:37 PM To: Struts Users Mailing List Subject: Re: redirecting to HTTPS Have a look

Re: redirecting to HTTPS

2003-03-06 Thread Max Cooper
There are a number of issues involved that make it more complicated than it should be (cookie domains, writing out all the links properly, etc.). Fortunately, there is a project designed just for this purpose that extends Struts to support relatively painless HTTP/HTTPS switching:

RE: redirecting to HTTPS

2003-03-06 Thread Ditlinger, Steve
: Sterin, Ilya [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 4:42 PM To: 'Struts Users Mailing List' Subject: RE: redirecting to HTTPS Ah, great, just found it, but I can't find any examples to go with it, nor a user's guide. Any links? :-) Ilya -Original Message

Re: redirecting to HTTPS

2003-03-06 Thread alexj
It's came with it have a look of the web directory . -- Alexandre Jaquet - Original Message - From: Sterin, Ilya [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 07, 2003 1:41 AM Subject: RE: redirecting to HTTPS Ah, great, just found it, but I

RE: redirecting to HTTPS

2003-03-06 Thread Sterin, Ilya
Great, thanks a bunch. Ilya -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 7:51 PM To: Struts Users Mailing List Subject: Re: redirecting to HTTPS There are a number of issues involved that make it more complicated than it should

RE: redirecting to HTTPS

2003-03-06 Thread Sterin, Ilya
, 2003 8:02 PM To: 'Struts Users Mailing List' Subject: RE: redirecting to HTTPS There are examples with each of the different versions. (1.02, 1.1b1, 1.1b2 etc) at sslext.sourceforge.net. I intend to do some updating for an 1.1RC1 release soon (this weekend?). Also, I am usually able to answer

Re: redirecting to HTTPS

2003-03-06 Thread alexj
- From: Sterin, Ilya [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, March 07, 2003 2:23 AM Subject: RE: redirecting to HTTPS Thanks, Steve. A quick question for you I guess, is going through the examples, there is more to it then just adding the .jar file

Re: Redirecting to a relative URL from root

2002-09-12 Thread Michael Lee
by default the '/' root is from your webapp, as it should be. All URLs should be from '/' that are going to the same webapp. If your going to another webapp just do an http:// (Is this last sentence right?) Don't use ../.. whatever you do! (not easily mutable) Mike - Original Message

Re: Redirecting to a relative URL from root

2002-09-12 Thread Donald Ball
On 9/12/2002 at 11:01 AM Michael Lee wrote: by default the '/' root is from your webapp, as it should be. All URLs should be from '/' that are going to the same webapp. If your going to another webapp just do an http:// (Is this last sentence right?) Don't use ../.. whatever you do! (not

Re: Redirecting to a relative URL from root

2002-09-12 Thread Donald Ball
On 9/12/2002 at 12:08 PM Michael Lee wrote: Cool! Did not know that! I take it when you say that solution doesn't work you just mean the one scentence.. I meant the suggested solution, namely that you use absolute URLs in your struts-config.xml file when redirecting a user to another webapp on

Re: Redirecting to a relative URL from root

2002-09-12 Thread Will Spies
PROTECTED] Donald Ballcc: (bcc: Will Spies/Towers Perrin) [EMAIL PROTECTED]Subject: Re: Redirecting to a relative URL from

RE: Redirecting to a relative URL from root

2002-09-12 Thread Tal Lev-Ami
PROTECTED] To: [EMAIL PROTECTED] Donald Ballcc: (bcc: Will Spies/Towers Perrin) [EMAIL PROTECTED]Subject: Re: Redirecting

Re: [RE: Redirecting to login page when session expires

2002-03-19 Thread Ted Husted
the template info. So my question is how can I do an ActionForward from a .jsp? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley Sent: Sunday, March 17, 2002 7:46 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Redirecting

[RE: Redirecting to login page when session expires

2002-03-18 Thread Brad Rhoads
, 2002 7:46 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Redirecting to login page when session expires Hi Tony. Tony Li [EMAIL PROTECTED] writes: What's the most elegant way of redirecting the user to the login page after his session expires within struts? Here's a simple

Re: Redirecting to login page when session expires

2002-03-17 Thread Jim Crossley
Hi Tony. Tony Li [EMAIL PROTECTED] writes: What's the most elegant way of redirecting the user to the login page after his session expires within struts? Here's a simple approach: Override the ActionServlet's perform method to check the session for something that your login action should've

RE: Redirecting Eventhandler2Eventhanlder in MulitpartRequest

2001-12-26 Thread Lawrence, Jane K
I've had a similar problem. See: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13730.html If you need to pass anything on, you'll need to store in it hen session. Unfortunately, I'm not working in a session, and haven't found a good way around this. - JKL -Original

Re: Redirecting to secure server (ie from http:// to https://)

2001-06-01 Thread Ted Husted
This is still a very messy area. I ended hardcoding some strings in a production application, but there solutions that would mitigate this, so you only have to hardcode the scheme in your struts-config file. See To SSL and Back Again