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 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 attribu

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 hth -Ramadoss -Original Message- From: Vanessa Monteiro [mailto:[EMAIL PROTECTED]

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

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: SiteĀ  Web If "false".equalsIgnoreCase( isLocal ) then my actionMapping.findForward( "gogoGoogleSearch" ) is envoked. This is where I g

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

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 defa

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 >

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

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.

Re: Redirecting after logon...

2003-11-17 Thread Susan Bradeen
On 11/17/2003 12:11:37 PM Adam Hardy wrote: > Sorry, I meant post For this application, the user must be logged in before hitting any pages, so I needed to only cover cases for when the user types in a URL from outside the application. I didn't give that a thought, so I perhaps this isn't too he

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 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 th

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 StringBuffer(reque

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 (request.getQue

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, sa

RE: Redirecting after logon...

2003-11-16 Thread Craig Edwards
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > This might be more involved than you may think. The easy answer is to extend > the RequestProcessor and add this functionality there. The hard answer is > that you may not want to enable a user to just jump to any given page, only > havin

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. Unfortun

Re: Redirecting after logon...

2003-11-16 Thread Vic Cekvenich
You could do that... or you could do it the J2EE way, decleratively without any coding, letting container do it that way: Ex in web.xml: Secure /do/loginPg/* /do/newsBlgCmntAddPg/* /do/userChngPg/* VALID ENHANCED

RE: Redirecting after logon...

2003-11-16 Thread Rob van Oostrum
This might be more involved than you may think. The easy answer is to extend the RequestProcessor and add this functionality there. The hard answer is that you may not want to enable a user to just jump to any given page, only having to go through a login step to get there. You may very well need s

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 curren

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 in

Re: redirecting to HTTPS

2003-03-06 Thread alexj
s all. -- Alexandre Jaquet - Original Message - 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 questio

RE: redirecting to HTTPS

2003-03-06 Thread Sterin, Ilya
ch 06, 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

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 be

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:

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 -

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: http://sslext.sou

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 H

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 a relative URL from root

2002-09-12 Thread Tal Lev-Ami
5)246-7145 e-mail: [EMAIL PROTECTED] To: [EMAIL PROTECTED] "Donald Ball"cc: (bcc: Will Spies/Towers Perrin) <[EMAIL PROTECTE

Re: Redirecting to a relative URL from root

2002-09-12 Thread Will Spies
To: [EMAIL PROTECTED] "Donald Ball"cc: (bcc: Will Spies/Towers Perrin) <[EMAIL PROTECTED] Subject: Re: Re

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 Michael Lee
tp://domain.com/webapp2/somepage.jsp Is this correct? - Original Message - From: "Donald Ball" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 12, 2002 11:10 AM Subject: Re: Redirecting to a relative URL from root > On 9/12/2002 at 11:01 AM Mi

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 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: [RE: Redirecting to login page when session expires

2002-03-19 Thread Ted Husted
-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 to login page when session expires > > Hi Ton

[RE: Redirecting to login page when session expires

2002-03-18 Thread Brad Rhoads
IL PROTECTED]]On Behalf Of Jim Crossley Sent: Sunday, March 17, 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 redi

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 shou

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 Message--

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 < http://www.mail-archive.com/struts-dev@jakarta.apache.org/m