| Author |
Jsp File- Maximum Size
|
A Kumar
Ranch Hand
Joined: Jul 04, 2004
Posts: 973
|
|
Hi, Whats the maximum file size of a jsp ??? I am getting StackOverflowError....when i am adding a huge lenght if condition...(its unavoidable) The server says The system is out of resources java.lang.StackOverflowError Without that condition,it is working fine and the file size is 57KB. After the condition is placed,it is 90KB. In the server logs,it is also mentioned that .. "Unable to compile ...jsp". Thanks in advance, Regards
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
|
|
Originally posted by A Kumar: Whats the maximum file size of a jsp ???
I believe that your problem is not related with the size of Jsp because I have never heard this things before about jsp. please correct me if i am wrong. SAif
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
There is an upper limit to the amount of code you can put in a JSP. The exact number is dependent on the server (specifically the JSP compiler). Stack overflow errors, however wouldn't be caused by that. This is usually caused by code with a recursive loop that doesn't properly terminate itself. Do you have a method that calls itself or two methods that call each other? [ December 05, 2006: Message edited by: Ben Souther ]
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Jsp File- Maximum Size
|
|
|