Solved

Buffer Overflow in JSP

Posted on 2004-03-25
4
738 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
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 250 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
library class in java 1 92
reflections, dynamic class loading 3 70
spring example non maven 4 87
Java Script nested call 3 84
Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
Binary Differential Replication, What it is, how it works and how it differs from standard delta file replication
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

785 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