This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
You need to use a file:/// URL. Note that a web app has no notion of a default directory, so you need to convert your relative path to an absolute path. The servlet API contains methods that can help you do that in the ServletContext interface.
Joined: May 29, 2008
Thanks James and Time,
Tim, Could you please more elaborate your help
The servlet API contains methods that can help you do that in the ServletContext interface.
Joined: Sep 21, 2011
Have you looked at the ServletContext javadocs? Which method may I have had in mind?