Two Laptop Bag*
The moose likes Struts and the fly likes Opera 10.3 problem page loading 2 times Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Opera 10.3 problem page loading 2 times" Watch "Opera 10.3 problem page loading 2 times" New topic
Author

Opera 10.3 problem page loading 2 times

selvi sibi
Greenhorn

Joined: Feb 18, 2011
Posts: 9
Hiii,

In my application, I stored database values into an array list and populated on html table using logic:iterate. There is a two combo boxes on each row for storing month details. But in opera 10.6.3 first page is populated with data then next time body is loading. I couldn't solve this issue. If a



Codes are as follows
---------------------------------------------------------------------------------------------------
<select name="startMonth<%=i%>" id="startMonth<%=i%>" class="city-box" style="width: 50px; height: 20px;"
onmouseover="showToolTipC(event,this,'Starting Month');return false"
onmouseout="hideToolTipC();
value = <bean:write name="data" property="startMonth"/>">

<option value="0" selected="true">-select-</option>
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select>
<script>
var sel=document.getElementById("startMonth<%=i%>");
var val='<bean:write name="data" property="startMonth"/>';
sel.value=val;
</script>
--------------------------------------------------------------------------------------------------------------------------


After populating all the values from array list, then however, page is refreshing. On that time start month value reset to -select-.
I don't know I am on the right way. If any one have suggestions, please reply me. It happens only on opera 10.6 version.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Opera 10.3 problem page loading 2 times