RE: Newbie: Forwarding question

2003-07-03 Thread Steve Raeburn
web application. Steve > -Original Message- > From: Bob McCune [mailto:[EMAIL PROTECTED] > Sent: July 3, 2003 11:03 PM > To: Struts Users Mailing List > Subject: Newbie: Forwarding question > > > I've just started working with Struts and am having some d

Newbie: Forwarding question

2003-07-03 Thread Bob McCune
I've just started working with Struts and am having some difficulty understanding the practical difference between an ActionForward and a ForwardAction. If I am simply creating links between JSP's is there any difference between using a global ActionForward versus using an action instance of type

RE: forwarding question

2001-12-06 Thread Jon.Ridgway
Hi Henrik, Try using mapping.getInput() - I think, not 100% however. Jon. -Original Message- From: Henrik Chua [mailto:[EMAIL PROTECTED]] Sent: 06 December 2001 01:15 To: Struts Users Mailing List (E-mail) Subject: forwarding question Hi! How should I set the return type of the

Re: forwarding question

2001-12-06 Thread Jonathan James
Can you not just do this? return new ActionForward( mapping.getInput() ); -Jonathan - Original Message - From: "Robert Parker" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 7:54 PM Subject: R

Re: forwarding question

2001-12-05 Thread Robert Parker
ursday, December 06, 2001 12:33 PM Subject: RE: forwarding question > i don't want to be pegged into a single page... > so if my page of origin is a.jsp... then after the action is performed, the > page returns to a.jsp. > if my page of origin is b.jsp, then after the action is per

RE: forwarding question

2001-12-05 Thread Henrik Chua
onfig.xml I will always be forwarded to a.jsp after the said action is perform. thanx. sorry for the unclear question. henrik -Original Message- From: Shri [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 5:33 PM To: Struts Users Mailing List Subject: RE: forwarding questi

RE: forwarding question

2001-12-05 Thread Shri
l) Subject: forwarding question Hi! How should I set the return type of the perform method of my action class such that I get back to the same page before the action is performed? like if i am on the a.jsp page, then I click on a link that does a perform method. I want to get back to the same pag

forwarding question

2001-12-05 Thread Henrik Chua
Hi! How should I set the return type of the perform method of my action class such that I get back to the same page before the action is performed? like if i am on the a.jsp page, then I click on a link that does a perform method. I want to get back to the same page as I was. (without hardcodi

Forwarding Question

2001-03-02 Thread Spencer Smith
  How can I make a Action object that forwards to 1 of 2 pages based upon success or failure of the validation rules.   Ex.    If validation for *this Form fails, stay on Page 2.   or   if validation is successful, save data and forward to Page 1.   

RE: Page Forwarding Question

2000-12-20 Thread Shiraz Wasim Zaidi
> In my action classes I have code which checks to see if a user has logged > on. If not, the code forwards to the logon page (e.g. > servlet.findForward("logon")). However this doesn't fully > accomplish what > I would like. If a user attempts to reference a page which requires a > login, I wo

RE: Page Forwarding Question

2000-12-20 Thread Sayles, Scott SAXONHQ
] > Subject: Page Forwarding Question > > > In my action classes I have code which checks to see if a > user has logged > on. If not, the code forwards to the logon page (e.g. > servlet.findForward("logon")). However this doesn't fully > accomplish what >

Page Forwarding Question

2000-12-20 Thread James Howe
In my action classes I have code which checks to see if a user has logged on. If not, the code forwards to the logon page (e.g. servlet.findForward("logon")). However this doesn't fully accomplish what I would like. If a user attempts to reference a page which requires a login, I would like