Hi all
I want to convert an existing servlet to an Action, but I'm having trouble
getting a servlet mapping to work (using weblogic 7.0).
Currently, I can use an URL like /tiles/with/these/parameters
And the servlet mapped to /tiles/* then parses the req.getRequestURI()
output to access the parameters. FYI, this is to get the browser to cache
dynamic image requests - if you can suggest a better way, please do so.
Anyway, I can't get a servlet action mapping to do the same thing. I've
tried a number of things, but it seems I can't do the same thing. The
general ide would be to have
Web.xml:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>tiles/*</url-pattern>
</servlet-mapping>
Struts-config.xml:
<action path="/tiles" type="com.us.view.web.GetTileAction">
</action>
Any ideas?
tia
charles