File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes File not found exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "File not found exception" Watch "File not found exception" New topic
Author

File not found exception

Subhash Pavuskar
Ranch Hand

Joined: Jun 29, 2011
Posts: 57

I have the following script in a jsp page.

String homesDir = response.encodeURL(request.getContextPath());
homesDir=homesDir+"/"+request.getParameter("user");

i got homesDir= /spaceplanner-portlet;jsessionid=EB503511999BB15533D4F3A6BD40965B/20tech

why is this session id getting appended to the root path.???

Because of this path data is not getting saved.

stacktrace................

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File not found exception
 
Similar Threads
Property 'menuHasChild' not readable on type java.lang.Integer
org.apache.jasper.JasperException: org.apache.jasper.JasperException: java.lang.NullPointerException
How to fix "Problem accessing the absolute URL" exception?
How to convert Blob Type back to File
JDBC in JSP not working