On Nov 30, 11:23 am, Prashant <antsh...@gmail.com> wrote:
> Hi,
>
> I have a servlet with request handler */file/** . I want to return a file *
> /theme/bg.gif* for all */file/*.gif *. I can check for .gif extension then
> how do i send */theme/bg.gif*, for */file/*.gif* without sending a redirect
> ?

Do a forward?

RequestDispatcher dispatcher = request.getRequestDispatcher
(whereEver);
dispatcher.forward(request, response);

Cheers
Philippe

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to