struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Vanzin <>
Subject Re: *.do ---- Proof of Concepts
Date Fri, 19 Apr 2002 18:14:56 GMT

	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)?

Marcelo Vanzin
Touch Tecnologia
"Life is too short to drink cheap beer"

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message