• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

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
0
vsaritha_9
Asked:
vsaritha_9
  • 5
  • 3
  • 2
  • +2
1 Solution
 
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
 
jessegivyCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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
 
PAQ_ManCommented:
Question Closed, 50 points refunded.
PAQ_Man
Community Support Moderator
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 5
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now