|
|
|
#1 (permalink) | ||||||||||||||
|
Overclocker
![]() |
ok so i have this select
Code:
<select name=tablenameinput size=1 onchange="frmTest.submit();">
<option value="null">Please Select a Table</option>
<option value="IDP_T" <% if(request.getParameter("tablenameinput") == "IDP_T"){ System.out.print("yep"); %>selected="selected"<% } %>>IDP</option>
<option value="ACTION_T">ACTION</option>
<option value="AV_T">AV</option>
<option value="USER_T">USER</option>
</select>
As well it wont submit on change not my day for codingedit: fixed one error, have to use request.getParameter("tablenameinput").equals("IDP _T")
__________________
Arctic TT Armor Work Log e6300 100% OC 1.49v 532mhz FSB - Crucial Ballistix 1:1 4-4-4-8 MASSIVE SALE - SONY HD CAMCORDER - GAMES - 2x1GB LAPTOP RAM Quote:
Last edited by im_not_an_artard : 07-29-09 at 12:51 PM |
||||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Intel Overclocker
![]() |
The first question I need to ask is what are you trying to do?
It looks like your trying to do selectable tables. If so then I don't think this is the correct way. Honestly I don't use just plain jsp. Don't know anybody who does. You need a tag library. I'd recommend icefaces. icesfaces.org or woodstock(comes with netbeans, but discontinued now) You don't need to reinvent the wheel if you don't have too.
__________________
|
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|