I ran the sample (from the JSWDK 1.0) checkbox. It created the below page. This page is a POST. However, when I click on submit I get a URL of:
 
It's operating as a GET.
 
What gives?
 
The bigger problem I am having is, if I do a GET all my JSP pages work fine. But if I do a POST about 10% of the time after 20 seconds it works and the other 90% of the time it fails.
 
Any ideas?
 
thanks - dave
 
 
<HTML>
<!--
  Copyright (c) 1999 Sun Microsystems, Inc. All Rights Reserved.
 
 This software is the confidential and proprietary information of Sun
 Microsystems, Inc. ("Confidential Information").  You shall not
 disclose such Confidential Information and shall use it only in
 accordance with the terms of the license agreement you entered into
 with Sun.
 
 SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
 SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 THIS SOFTWARE OR ITS DERIVATIVES.
-->
 
<BODY bgcolor="white">
 

<FORM TYPE=POST ACTION=checkresult.jsp>
<BR>
<font size=5 color="red">
Check all Favorite fruits: <br>
 
<input TYPE=checkbox name=fruit VALUE=apples> Apples <BR>
<input TYPE=checkbox name=fruit VALUE=grapes> Grapes <BR>
<input TYPE=checkbox name=fruit VALUE=oranges> Oranges <BR>
<input TYPE=checkbox name=fruit VALUE=melons> Melons <BR>
 

<br> <INPUT TYPE=submit name=submit Value="Submit">
 
</font>
</FORM>
</BODY>
</HTML>

Reply via email to