Make a small action that only redirects to its input when the perform()
method is called, e.g.:
return new ActionForward(mapping.getInput());
Then use it in all you action mappings in the config file, changing the
"input" attribute to the desired JSP.
K J wrote:
> Say I have a web application which contains 1 JSP and
> I wanted to use Struts. I don't have any action
> classes, but I want to use the controler servelt and
> the taglib. Will the *.do work only when you have
> action classes? What would this entry look like if I
> only want the Controler servelt to forward to a
> JSP(without any action classes)?
--
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
"Life is too short to drink cheap beer"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>