Here I am again, a simple one this time. I send parameters from a wml file to a jsp file in order to enter them in a database but the parameters dont get there correct. What I mean is :
<do type="accept" label="SUBMIT">
<go method="post" href="insert.jsp">
<postfield name="name" value="$name"/>
<postfield name="mobile" value="$mobile"/>
String name = request.getParameter("name");
String mobile = request.getParameter("mobile");
PreparedStatement PStmt = conn.prepareStatement("insert into agenda (name, mobile) values (\"" + name + "\",\"" + mobile + "\")");
The values in the database appear like $name and $mobile instead of the real values of the parameters. What is wrong?
Woo Hoo! ;-)
Here are the two files that I used. It works fine.
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Coaxial cable bending
There are several factors that govern the selection of coaxial cable for your Machine to Machine (M2M) application: the location of cable runs, either indoor or outdoor, inside or outside an enclosure, maximum bending and the…
DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability.
This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually.
After setting up a router, find the network security…