Code too large

Hello All,
I am getting "Code too large" exception for one of my JSP.

That JSP contains Just few edit boxes. But It includes css and one more JSP which is about 20 lines of code.

The same css and includes are also included in all other JSP which are much bigger than the JSP which is giving me problems. I am able to see all other JSP page except this one.

Can someone help me understand why is this the case.

Thank you
vsaritha_9Asked:
Who is Participating?
 
PAQ_ManCommented:
Question Closed, 50 points refunded.
PAQ_Man
Community Support Moderator
0
 
bloodredsunCommented:
Can you post the exception?

Also check that there are infinite-loop includes where A.jsp includes B.jsp which includes A.jsp etc
0
 
bloodredsunCommented:
Also check for any use of external java classes that may make the final class file too big.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
jessegivyDeveloperCommented:
20 lines is definatly not the jsp limit.  I have a jsp file with over 100,000.  There must be an error in there somewhere.  Post code if you can!  Good call on the infinate loop bloodredsun could be other things too.  Are you closing your ResultSets and Connections after use??
0
 
TimYatesCommented:
>> I have a jsp file with over 100,000

*faint*


;-)
0
 
vsaritha_9Author Commented:
Thank you very much for all your replys.

There are no loops. But when I checked code (java file generated for that JSP), I could see that I was including the .jsp which was commented out. Problem was they have used html comment to not to include that JSP instead of JSP comments. When I used JSP comments it worked.

I am not sure to whom should I have give points. Please let me know

Thank you
0
 
bloodredsunCommented:
Just ask Community Support for a refund as you sorted it out by yourself.
0
 
vsaritha_9Author Commented:
Thank you bloodredsun.

Community Support,
Can you please refund points to my account?

Thank you
Saritha
0
 
bloodredsunCommented:
You have to ask here http://www.experts-exchange.com/Community_Support/, it's free and just like asking any other question
0
 
vsaritha_9Author Commented:
Thank you very much bloodredsun,
I have posted question to the community support.

I really appreciate your help
0
 
bloodredsunCommented:
I agree...
0
 
TimYatesCommented:
fair enuf
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.