Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Mongo DB Applied Patterns
this week in the
or a resume review from
Five Year Itch
Can we redirect a servlet to file server instead a jsp
Joined: Jun 03, 2007
Jul 03, 2007 07:46:00
Normally we redirect to a
or a jsp can we redirect to a file share i.e when we do
i tried the above but it is not working do we need to use any other format ?
Joined: Dec 11, 2004
Jul 03, 2007 07:58:00
sendRedirect does nothing more than send a 303 header to the browser along with a location header containing the URL that the browser should call.
The URL would have to be something that the browser can reach.
I've only ever used it for HTTP calls.
I'm not sure if you can make requests to UNC resources.
f:\\... is the syntax you would use to request a local file on a Windows box.
I don't see how this would work.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Can we redirect a servlet to file server instead a jsp
welcome file in web.xml
Calling servlet from JSP
Access Servlet InitParameters in JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013