Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP File Size Problem

 
Raymond Villeno
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I have created a jsp page with a big file size approximately about 1.44MB
I am recieving an error in tomcat that it has an error reading the file though it is not corrupt or anything cause i can open it in my editor, i think the issue is the size of file... If i am right is there a way to alter the allowable file size of jsp file so as tomcat would compile it?!

I cannot use jsp include and such and all those things that i can do to at least lower the file size i have already did it.

Thanks in Advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think (but I'm not sure) the limit for a try/catch block is 64k.
I also think that Jasper and most other JSP compilers wrap the entire JSP in a try/catch block when processing.

Why can't you use includes to break it up?
 
Sripathi Krishnamurthy
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you post the error here?
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!