Sam, One possibility is:
Maximum size of a JSP page - The JSP page compiler can generate a Java
class that exceeds the 64kb size limit on a single Java method that is
imposed by the JVM. A common way for this to occur is to include large
numbers (> 75) of custom tags in a single page. To work around this
problem, divide your large page into smaller pages, and use the
<jsp:include> standard action to combine them.
(from:http://java.sun.com/webservices/docs/1.0/tomcat/ReleaseNotes.html)
Can you try breaking up your page and see if it still happens?
Becky
On Fri, 2003-03-07 at 13:17, Sam Seaver wrote:
> This is a strange problem because nowwhere does an error turn up...
>
> basically, i have a jsp page that, when you enter an id, it will search the
> correct directory for XML files, and print out in html, buttons linking each
> XML file.
>
> Recently, for some unexplicable reason, the page now cuts off when printing
> out these buttons, and doesn't show the rest of the page. Like I said,
> simply no error turns up in any log etc.
>
> here's the relevant area of JSP code:
>
>
> Job ID: <%= fileHandler.getJobID() %>
> <%
> if(fileHandler.validateDir(fileHandler.getJobID())){
> fileHandler.findResults();
> jobFiles = (String[])fileHandler.getXmlFileNames();
> if(jobFiles.length != 0){
> %>
> <p><B>Results</B>
> <br/>Press a button to see the results for a chain pair in the
> viewer.<br/>
> <form>
> <%= jobFiles.length %><br/>
> <%
> for(int i = 0;i<=jobFiles.length;i++){
>
> if(fileHandler.getModel()){
> %>
> <br/><%= i + ": " + jobFiles[i] %>
> <input type="button" value="Model: <%=
> fileHandler.getChMo(jobFiles[i]) %>"
> onclick="window.open('monster/viewer.jsp?number=<%= i
> %>', 'viewer', 'height=800,width=1100,dependent=1')"/>
> <%
> }else{
> %>
> <input type="button" value="Chains: <%=
> fileHandler.getChMo(jobFiles[i]) %>"
> onclick="window.open('monster/viewer.jsp?number=<%= i
> %>', 'viewer', 'height=800,width=1100,dependent=1')"/>
> <%
> }
> jobFiles[i] = fileHandler.getDir() + jobFiles[i];
> }
> session.setAttribute("Files", jobFiles);
> %>
> </form>
> <jsp:getProperty name="fileHandler" property="output"/>
> <%
> }else{
> %>
> <p> No results have been found yet. Please check later.
> <br/> If it has been too long, please email the <a
> href="mailto:[EMAIL PROTECTED]">webmaster</a> with the job id.
> <jsp:getProperty name="fileHandler" property="output"/>
> <%
> }
> }else{
> %>
> <br/>This job never existed. Please try again, or email the <a
> href="mailto:[EMAIL PROTECTED]">webmaster</a> with the name of the file
> used for the job.
>
> The loop works fine if models aren't involved, as there are only maybe 1-4
> files involved. But with the models, there can be 30 files involved, and
> for some reason, this number of files seems to clog up the loop and cause
> the JSP page to simply stop....
>
>
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html