Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

struts upload

  Asked By: Kent    Date: May 05    Category: Java    Views: 961
  

I am working with Struts and to upload a file I have used Struts-Upload's FormFile.

Also a jsp file called "top.jsp" is included in all my jsp files.I have used some request's properties like getRequestURL() in so called top.jsp.

First time loading the upload page, I don't have any problem.But as soon as a submit has occured, ( Second time loading the page ) I recieve this Exception Report with following root cause :

java.lang.NullPointerException
at org.apache.jsp.top_jsp._jspService(top_jsp.java:70)
...
This NullPointer referes to request's URL,as I said.

My assumption is that "UploadTag" distorts the main HttpServletRequst of the application, but no idea about solving this problem !

What do YOU think ?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on struts upload Or get search suggestion and latest updates.




Tagged: