M
Madni
Dear all,
while i am trying to submit form to servlet , though things are doing
pretty good ,but mysteriosuly ,as soon as the servlet gets the post
request it throws an exception ,which when is printed (Exception
e.getMessage()) states "Size not matching" . Following are the related
code lines :
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws
ServletException, IOException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
try {
System.out.println("start dopost");
//
// remaining code
//
} //try ends here
catch(Exception e)
{
System.out.println("Exception message is " + e.getMessage() );
}
Hence the System.out.println() statements come in the order like :
1: Exception message is Size not matching //printed in catch
block
2: start dopost //
first line in the try block
Any help on this issue will be highly appreciated ....
Regards,
Madni
while i am trying to submit form to servlet , though things are doing
pretty good ,but mysteriosuly ,as soon as the servlet gets the post
request it throws an exception ,which when is printed (Exception
e.getMessage()) states "Size not matching" . Following are the related
code lines :
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws
ServletException, IOException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
try {
System.out.println("start dopost");
//
// remaining code
//
} //try ends here
catch(Exception e)
{
System.out.println("Exception message is " + e.getMessage() );
}
Hence the System.out.println() statements come in the order like :
1: Exception message is Size not matching //printed in catch
block
2: start dopost //
first line in the try block
Any help on this issue will be highly appreciated ....
Regards,
Madni