Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 07-29-09   #1 (permalink)
Overclocker
 
im_not_an_artard's Avatar
 
intel ati

Join Date: Nov 2006
Location: Detroit
Posts: 1,957

Rep: 76 im_not_an_artard is acknowledged by some
Unique Rep: 66
Trader Rating: 19
Default JSP/HTML Issue

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>
but for somereason request.getParameter("tablenameinput") == "IDP_T" is always false, any clue?

As well it wont submit on change not my day for coding

edit: 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:
I never had imaginary friends as a kid, i played with Carlton's
-Hillary Banks, Fresh Prince of Bel Air

System: We Be Rollin
CPU
Q9550 C1 @ 3.7GHZ 1.328V
Motherboard
DFI DK P45-T2RS
Memory
4GB G.SKILL DDR2 PC2-8500 1066 PK (5-5-5-15)
Graphics Card
2X ATI RADEON 4850 CF @ 710/1130
Hard Drive
WD 640GB BLACK
Sound Card
ONBOARD
Power Supply
PC P&C SILENCER 610W
Case
COOLER MASTER CENTURION 532
CPU cooling
MEGAHALEMS W/ PUSH/PULL 120x38MM 86 CFM PANAFLOS
GPU cooling
2X TT DUORB
OS
VISTA HOME PREMIUM 64-BIT / UBUNTU 9.04
Monitor
SAMSUNG SYNCMASTER 226BW 22"

Last edited by im_not_an_artard : 07-29-09 at 12:51 PM
im_not_an_artard is offline   Reply With Quote
Old 08-04-09   #2 (permalink)
Intel Overclocker
 
dham's Avatar
 
intel ati

Join Date: May 2009
Location: North Carolina
Posts: 687

Rep: 45 dham is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

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.
__________________
Quote:
Originally Posted by jshay View Post
How convenient, the warranty ends when the world ends.
Quote:
Originally Posted by slothfish View Post
So lifetime warranty then?

System: Main Digital Audio Workstation
CPU
Core i5 750 4.01ghz at 1.27v
Motherboard
MSI P55-GD80
Memory
G.SKILL 4GB DDR3 1600mhz
Graphics Card
Sapphire Radeon HD 5870 1GB
Hard Drive
Western Digital Caviar Black 500gb 32mb cache
Sound Card
Line 6 Guitar Port/Gear Box
Power Supply
Corsair HX750
Case
Antec Nine-hundred two
CPU cooling
Megahalem w/ Panaflo 114cfm
GPU cooling
Stock
OS
Windows 7 Ultimate 64
Monitor
22" Acer
dham is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 08:11 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.09559 seconds with 8 queries