File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "File not found exception" Watch "File not found exception" New topic

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());

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.


I agree. Here's the link:
subject: File not found exception
It's not a secret anymore!