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
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
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
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
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
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
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
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
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.
> 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
]
> 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
>
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
12 matches
Mail list logo