Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTML output cut off when JSP calls itself

843840Jan 8 2008 — edited Jan 9 2008
Hello,

do you know any cause why HTML output produced by a JSP calling itself via form request can be cut off?



The form introduction:

<form action="bearbeiten.jsp" method="get" accept-charset="UTF-8" style="padding:0px;margin:0px;">



Reading the parameters after the request:

zeit = java.net.URLDecoder.decode ( request.getParameter ( "zeit" ), "UTF-8" );




Showing the output:

<tr>

<td class="darstellungszelle" bgcolor="<%= hintergrundfarbe %>">

Zeit

</td>

<td class="darstellungszelle" bgcolor="<%= hintergrundfarbe %>">

<input type="text" name="zeit" value="<%= zeit %>" size="40" maxlength="128">

</td>

</tr>


When the form is sent, the JSP takes notice of by asking for a filled request parameter.
It calls several methods for transformating data in scriptlet parts and puts the result out.

In some cases, HTML code is cut off, in some cases it is not.

Important: HTML Code put in front the form (for test only) exerts influence on the position where the code is cut off.
So it could have something to do with "package size"? Is there any size limitation in Tomcat at a rather low level normally?

(But I do not send much data in any case. :) )

I also tried post instead of get, no difference.


But I could not find out any clearer cause.

(I use NetBeans 5.5 with bundled Tomcat 5.5 .)



Are there people with experience who know problems like this?


bye Maik
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2008
Added on Jan 8 2008
3 comments
1,403 views