my dog learned polymorphism
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
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

Opera 10.3 problem page loading 2 times

selvi sibi

Joined: Feb 18, 2011
Posts: 9

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"
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>
var sel=document.getElementById("startMonth<%=i%>");
var val='<bean:write name="data" property="startMonth"/>';

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.

I agree. Here's the link:
subject: Opera 10.3 problem page loading 2 times
jQuery in Action, 3rd edition