This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default size of a JSP?

 
Rd Dari
Ranch Hand
Posts: 212
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I faced a question. What is the default size of a JSP?,but I didn't know.

Please tell me.
Thanks is advanced!!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no concept of a "default size" of a JSP.
 
Rd Dari
Ranch Hand
Posts: 212
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But somewhere I saw that is 8kb is a default size of a Jsp
e.g.

It is 8KB and we can increase it like this
<%@ page language="java" buffer='32kb'%>
<%@ page language="java" buffer='64kb'%>

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is just the output stream buffer - the amount of text stored locally until it is actually transmitted in the response output.

What limits JSP code is the size of the largest method Java allows, not the output buffer.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic