Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Limit of JSP page to Compile

 
Manish Jaju
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any limit specified for a JSP page to compile in servlet.. At one point of time, I faced this kind of problem where JSP engine was unable to compile JSP as the page exceeded the limit of JSP page to compile. Is there any solution for this. Thanks in advance.
Mani
 
Ravi Shankar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even i faced similar problem during compliation of JSP's, are you using any include directives in your JSP's.
 
Pratik Lohia
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WHAT ADMIN SERVER ARE YOU USING?
IF WAS(Websphere App Server) 5.0 THEN YOU NEED TO DO THE FOLLOWING:

GO TO APPLICATION SERVERS
SELECT YOUR SERVER
IN THAT CLICK ON THE PROCESS DEFINITION LINK
IN THAT CLICK ON THE JAVA VIRTUAL MACHINE LINK
IN THAT GO TO THE BOTTOM AND CLICK ON THE CUSTOM PROPERTIES LINK
IN THAT YOU SHOULD HAVE A PROPERTY com.sun.tools.javac.main.largebranch . SET IT TO TRUE.
IF YOU DONT HAVE THIS PROPERTY CREATE A NEW ONE AND SET IT TO TRUE.



HOPE THIS HELPS
[ March 03, 2006: Message edited by: Pratik Lohia ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pratik Lohia, while we appreicate your participation, please find your Caps Lock key (usually to the left of the A key) and turn it off!

thank you
 
Pratik Lohia
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
woops!!!. did that... but would surely like to know.. wats so much against "caps" on the ranch? if u dont mind tellin of course
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posts in all caps are hard to read and could be construed as "shouting" which is rather rude. I know that was not your intention...
 
Pratik Lohia
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And hey.. .forgot to tell you another useful thing... You can even compress your Jsps. By compressing i mean removing all the unneeded whitespaces of tabs and line feeds...
this will considerably reduce the size of ure Jsps. You have tools available for the same.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can even compress your Jsps


While that's an interesting observation, it doesn't have anything to do with the subject of this topic.
 
Pratik Lohia
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In fact it does... compressing reduces the sizes of the jsps... WAS has a limit on the size of the jsp in kbs... it does not compile the jsp if it exceeds the size. So removing whitespaces(trust me!! they do occupy quite an amount of ure jsp size) does help in reducing ure jsp size.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic