thanks -----Original Message----- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 11:25 AM To: Struts Users Mailing List Subject: RE: mapping a html page request
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]