tShow"));
Maris
-Original Message-
From: Keith Bacon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 5:08 PM
To: Struts Users Mailing List
Subject: Re: forward to jsp or to do ?
It's best to forward to an action (to a do). In fact I
suspect it's the normally a
it was because my action class forwarded to itself.
excuse me, pls
Maris
-Original Message-
From: Mâris Orbidâns
Sent: Thursday, December 13, 2001 6:00 PM
To: Struts Users Mailing List
Subject: RE: forward to jsp or to do ?
I changed a forward from search.jsp to
I changed a forward from search.jsp to search.do. Then when I forward to
"/search" it throws
an exception. I tried to change some other forwards from jsp to do with
the same outcome.
Actually it goes in a loop printing the same stack trace again and
again.
I have do forward to logoff only. But
Correct, if you forward to a jsp, it will display the compile jsp
servlet. If you forward to a do, then it
will look for that action in your actions-config.xml and execute the
appropriate action class.
This allows you to chain actions together.
HTH,
Pete
>What' s the difference between a f
It's best to forward to an action (to a do). In fact I
suspect it's the normally accepted way to do it.
Instead of your jsp being run directly, the struts
action servlet will create the form bean defined for
the action & call your action classes perform method
first.
You can set properties of the
5 matches
Mail list logo