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 ?