struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Vanzin <va...@rededc.com.br>
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)?


-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
vanza@rededc.com.br
"Life is too short to drink cheap beer"


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message