This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes Size of JSP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Size of JSP file" Watch "Size of JSP file" New topic
Author

Size of JSP file

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301
what is maximum size of jsp file that we can use in our application ?
[ November 27, 2008: Message edited by: Bear Bibeault ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It would depend on the JSP compiler and the JSP.

We've had people report that one container fails due to too many lines of code ending up in a single try/catch block in the generated servlet while other containers run the same JSP without a problem.

Personally, I would be more concerned with the amount of code that can be easily maintained in a single JSP. This number, for me, would be much lower than the upper limit for any container out there.
[ November 10, 2008: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301
Actually this was the interview question.And they said this is not answer.


Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42039
    
  64
I don't think the question is well-posed as it is. I can think of several definitions of "maximum JSP file size"; without knowing which one is meant various answers are possible.

There was some discussion on this recently: http://www.coderanch.com/t/414274/JSP/java/When-executing-JSP-Code-too


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: Size of JSP file