?
Solved

Buffer Overflow in JSP

Posted on 2004-03-25
4
Medium Priority
?
744 Views
Last Modified: 2009-07-29
Hi,

I got a problem that I have a large size JSP file about 200K, I unable to display the whole page in web browser. I have already set
<%@ page buffer="none" %>
<%@ page autoFlush="true" %>

I use Tomcat4.0 as the web server.
0
Comment
Question by:chowjessie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Expert Comment

by:jarasa
ID: 10685449
What does your JSP display, Data from DB?

If So why don't you make some paging?

Do you get an specific error or just don't see all the data?

Finally. If is not a 200K JSP, con you post the code?

:c)

Javier
0
 
LVL 7

Accepted Solution

by:
searlas earned 1000 total points
ID: 10686518
JSP's are compiled into classes, and classes and methods have size limits on them.  Basically, 64k.

So, you need to break up your JSP into chunks and put them together using <jsp:include..> tags (but NOT <%@ include ...%> as that would still form one monster class at compile time.)
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question