wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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