note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.
You can "remove this exception" by ensuring you are not invoking a method on null references. That is what the stack trace essentially means.
So what do you have on Generatepdf.java:125
Put try catch and see while executing what piece of code, it is throwing null pointer.
<%try{
%> your JSP code should come here.
<%}catch(Exception e) {
%>
<%e.printStackTrace();%>
Note that by using GET and POST interchangeably you're violating the HTTP specification. What's more, a login -which presumably involves sending a password- should never be done over GET.
Manjunath Gajula wrote:your JSP code should come here.
It's servlet code, not JSP code, as the stack trace shows.
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
a bit of art, as a gift, the permaculture playing cards