Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-02-2008, 06:24 AM #1
- Join Date
- Dec 2007
- Thanked 0 Times in 0 Posts
Unable to retrieve session values initially, when Tomcat Server is started
I am trying to retrieve the uploaded file path using session, Initially when TOMCAT Server is started, i will upload a file using a JSP page and will store to server and using session.setAttribute("FilePaht"); will store the uploaded file path to Session.
Uploading of File i am doing in JSP page using iFrame:
I am calling the Upload.html file on click of a button in a JSP page Bar.jsp using an iFrame in it .
Question? when i tried to retrieve the uploaded file path which is stored in session, i am gettting Errors
However When i tried uploading a file directly using Upload.html page and tried to retrieve the session value its working, i am able to retireve the session value (uploaded file path).
I want to know whether, i need to set any mehtods initially to check the uploading of file once server is started ?
Any help will be appreicated ..
01-02-2008, 08:28 AM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,531 Times in 2,509 Posts