File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes The max input fields for servlet can handle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "The max input fields for servlet can handle" Watch "The max input fields for servlet can handle" New topic
Author

The max input fields for servlet can handle

kumar amara
Greenhorn

Joined: Oct 27, 2009
Posts: 24
I am trying to send a jsp having 64 fields to servlet which will call a utility method to insert hte 64 values in db and return success to jsp page ,But i got null returned.
Is there any time limit /size limit for jsp / servlet / method or the tomcat itself?

thanks in advna I used method as post BUt don't know why it happend


jsp code is

servlet


method



Thanks in advance
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

But i got null returned.

Where exactly ?


[My Blog]
All roads lead to JavaRanch
kumar amara
Greenhorn

Joined: Oct 27, 2009
Posts: 24
In my result.jsp
<%=req.getAttribute("msg") %>
No data inserted to my mysql database
same type of way worked for upto 20 fields which are in step2
but in step3 not works for step3
any script running time limit / db connection time limit for inserting this 64 onmysql ?

thanks in advance!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

In s3Add, does e.printStackTrace() print anything ? Check your log.
kumar amara
Greenhorn

Joined: Oct 27, 2009
Posts: 24
Yes could you please tell me in which file of logs i have to look at


manager text file


stdout_20100423
have this



admin ,host-manager ,stderr of this date are empty

kumar amara
Greenhorn

Joined: Oct 27, 2009
Posts: 24
is it ok with this logs where the error occurs or any changes i need to do for my tomcat/mysql
please tell me
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The closing bracket is missing in your INSERT statement.
kumar amara
Greenhorn

Joined: Oct 27, 2009
Posts: 24
Thank you very much!
I really applaud you for your in time help .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The max input fields for servlet can handle
 
Similar Threads
How to update a image using servlet?
Update the whole info in database instead of one.
Space not releasing on toggle of divs
servlet dispatcher not works
please any one cleare my error