A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Jsp File- Maximum Size
Joined: Jul 04, 2004
Dec 04, 2006 22:50:00
Whats the maximum file size of a
I am getting StackOverflowError....when i am adding a huge lenght if condition...(its unavoidable)
The server says
The system is out of resources
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,
Joined: Dec 06, 2005
Dec 05, 2006 06:19:00
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.
How To Ask Questions On JavaRanch
Joined: Dec 11, 2004
Dec 05, 2006 06:27:00
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 ]
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Jsp File- Maximum Size
Max upload file size?
Java Read/Write on huge file system
JSP processing time without Network delay
Struts 2 FileUpload Interceptor Problem for Large File Size Upload....
getServletConfig() does not work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015