morgand
Tue, 04 Sep 2001 14:25:35 -0700
morgand 01/09/04 12:12:31
Modified: latka-webapp/webapp RunTestBody.jsp TestForm.jsp
Log:
better whitespace handling
Revision Changes Path
1.5 +1 -1 jakarta-commons-sandbox/latka-webapp/webapp/RunTestBody.jsp
Index: RunTestBody.jsp
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/latka-webapp/webapp/RunTestBody.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- RunTestBody.jsp 2001/09/04 17:22:46 1.4
+++ RunTestBody.jsp 2001/09/04 19:12:31 1.5
@@ -10,7 +10,7 @@
<% // store away the test for when we return to the form
props.setProperty("latka.testBody",
- request.getParameter("testBody")); %>
+ request.getParameter("testBody").trim()); %>
<a href="TestForm.jsp">[Return to test form]</a>
1.7 +0 -1 jakarta-commons-sandbox/latka-webapp/webapp/TestForm.jsp
Index: TestForm.jsp
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/latka-webapp/webapp/TestForm.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestForm.jsp 2001/09/04 17:23:50 1.6
+++ TestForm.jsp 2001/09/04 19:12:31 1.7
@@ -21,7 +21,6 @@
<form method="post" action="ProcessTestBody.jsp">
<textarea NAME="testBody" ROWS="18" COLS="70">
-
<%= props.getProperty("latka.testBody",buff.toString()) %>
</textarea>