Re: Dynamic image generation servlet...

2004-11-15 Thread Becky Phaneuf
I think you need to change it to out.println(""); The url pattern should only really be relative to your web application's context root. -B >>> [EMAIL PROTECTED] 11/12/2004 5:07:39 PM >>> I have a very simple web application that contains two servlets. One called GreetingServlet that displays t

Re: Dynamic image generation servlet...

2004-11-14 Thread Nic Ferrier
Paul Copeland <[EMAIL PROTECTED]> writes: > In the Perl spirit that every easy problem should have a minimum of four > equally valid solutions, he could also use the html BASE tag to set the > relative URL for the rest of the document. As you say, that only works on relative URLs. Michael's probl

Re: Dynamic image generation servlet...

2004-11-14 Thread Paul Copeland
From:Nic Ferrier <[EMAIL PROTECTED]> Subject: Re: Dynamic image generation servlet... Johan Hahn <[EMAIL PROTECTED]> writes: 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 t

Re: Dynamic image generation servlet...

2004-11-13 Thread Nic Ferrier
Johan Hahn <[EMAIL PROTECTED]> writes: > 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 would get resolved >> by dispatching to my ImageServlet. Bu

Re: Dynamic image generation servlet...

2004-11-13 Thread Johan Hahn
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 would get resolved > by dispatching to my ImageServlet. But it doesn't work. Try /image* It should

Dynamic image generation servlet...

2004-11-12 Thread Michael Burbidge
I have a very simple web application that contains two servlets. One called GreetingServlet that displays the web page for the application. The web page includes an image that is dynamically generated by the second servlet, called ImageServlet. I'm thinking that the GreetingServlet can display the