If you change your servet mapping you can have whatever file suffix you want, 

change *.do to *.html

beware that doing this will route all *.html requests through the
action servlet.

if you just need to forward to a static html page then <forward
name="sucess" path="/myfile.html" redirect="true" />

Should work. 

Mark


On Wed, 27 Oct 2004 13:24:57 -0400, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Dennis,
> 
> Web server like tomcat have rewrite modules (mod_rewrite) where you can
> sense an incoming URL and parse it to make it go where you wish.  See:
> http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
> 
> Also, I'm not sure if a "filter" in a java web (or application) server might
> do the trick.  I've used them maybe twice in my lifetime.  The trick would
> be ensuring that all requests go to the Java app so extension mapping might
> be necessary based on the web server or java app server to ensure everything
> goes to the filter (i.e. ensure *.html files map to the java filter so they
> would be processed).
> 
> Regards,
> David
> 
> -----Original Message-----
> From: Lucero, Dennis M [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 26, 2004 8:59 PM
> To: [EMAIL PROTECTED]
> Subject: mapping a html page request
> 
> How would I go about mapping a URL of the form
> somePage.html
> into an action class.
> 
> (I have no control over the syntax of this URL and can not make it be a
> someAction.do  URL.)
> 
> any help appreciated.
> 
> I am he, as you are he, as you are me, and we are all together.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to