Matthew Brown wrote:I think you just need to be more careful with your markup. For your Salary input, you've given in the name "age" - so "salary" doesn't exist in the form. And your markup has "counties" whereas you're trying to extract "county".
For the last part, you need to put a value into the <option> tag: <option value="1">Carlow</option>.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:Request attributes are a Map object and its maximum size is limited only by available memory. An HTTP GET can sometimes be too large, due to server limitations on total text length, but an HTTP POST is effectively unlimited as far as the number of attributes (parameters) that it supports.
HTTP is a 100% text protocol, which is why getParameter and its friends only return String objects. And, in case you're wondering how binary objects such as GIF images can be sent over a text-only protocol, they're encoded as text by the server and decoded from text to binary by the client. The technique was originally designed for email (which is also text-only), and is known as MIME (Multipurpose Internet Mail Extensions).
Bear Bibeault wrote:Your terminology is off. The data values passed in the HTTP request are parameters, not "attributes". As scoped variables a are often called "attributes", this is an important distinction.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:HTTP is a 100% text protocol, which is why getParameter and its friends only return String objects. And, in case you're wondering how binary objects such as GIF images can be sent over a text-only protocol, they're encoded as text by the server and decoded from text to binary by the client. The technique was originally designed for email (which is also text-only), and is known as MIME (Multipurpose Internet Mail Extensions).
OCPJP
In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer