Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: Dynamic image generation servlet...

Johan Hahn

2004-11-13

Replies:

Michael Burbidge wrote:
[snip]
> Note that the ImageServlet is registered to handle URI from the root
> context of the form "/image". I would think then that the URI in the
> the html snippet <img src='/image?name=imagename'> would get resolved
> by dispatching to my ImageServlet. But it doesn't work.

Try

 <url-pattern>/image*</url-pattern>

It should work without explanaition.

...johahn

___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
©2008 junlu.com - Jax Systems, LLC, U.S.A.