Ya don't say?  Thanks for the info., I had no idea you could do that.

Joe Barefoot

> -----Original Message-----
> From: Robert [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 2:00 PM
> To: 'Struts Users Mailing List'
> Subject: RE: *.do ---- Proof of Concepts
>
>
> Actually, you can use .do without actions. This snippet is from a demo
> app that we have:
>
> <action name="searchCustomer" path="/searchCustomer"
> forward="/searchCustomer.jsp" />
>
> where the url would be searchCustomer.do and there are no actions and no
> formbeans for the resulting page (searchCustomer.jsp).
>
> I use this quite a bit actually myself where I believe in abstracting
> out the url links in the pages from the actual locations/page names;
> meaning I can change the searchCustomer.jsp page to some other page and
> not have to go through all my pages and update links. In this scenario
> the ActionServlet is a traffic controller for the pages. You could even
> do this in a completely non-action website, and would make sense in a
> really large site that gets updated a frequently.
>
> - Robert
>
> -----Original Message-----
> From: K J [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 1:04 PM
> To: Struts Users Mailing List
> Subject: *.do ---- Proof of Concepts
>
> 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)?
>
> can you tell me what needs to go where(i.e. web.xml
> vs. struts-config.xml). what should go in the global
> forward path, and the servelet-mapping section?
>
>
> Thanks.
>
> =====
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to