post #1 of 1
Thread Starter 
I have the following code in a JSP.
Code:
<SELECT name="useraccountlocked" >
      <%if(user.getUserLocked()) { %>
              <option selected="yes" value="true">Yes</option>
              <option value="false">No</option>
      <%}%>
      <%if(!user.getMajicUserLocked()) { %>
              <option value="true">Yes</option>
              <option selected="yes" value="false">No</option>
    <%}%>
</SELECT>

No matter what I select, when I submit the form to the Servlet, the "useraccountlocked" parameter in the HttpServletRequest object is always "false", even when "Yes" is selected.

Any ideas?
Mythica
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel i3 530 Gigabyte GA-H55M-D2H Palit nVidia GT430 Corsair Dominator 4GB TW3X4G1333C9A 
Hard DriveHard DriveOSMonitor
Western Digital Scorpio Black Samsung HD204UI Linux Mint 17 HP L1800 
KeyboardPowerCaseMouse
Logitech Basic Thermaltake ToughPower 850W Lian-Li PC-A04B Logitech Trackman Wheel 
  hide details  
Reply
Mythica
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel i3 530 Gigabyte GA-H55M-D2H Palit nVidia GT430 Corsair Dominator 4GB TW3X4G1333C9A 
Hard DriveHard DriveOSMonitor
Western Digital Scorpio Black Samsung HD204UI Linux Mint 17 HP L1800 
KeyboardPowerCaseMouse
Logitech Basic Thermaltake ToughPower 850W Lian-Li PC-A04B Logitech Trackman Wheel 
  hide details  
Reply