This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsp File- Maximum Size

 
A Kumar
Ranch Hand
Posts: 980
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1324
Android Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic