For php is similar but you must especify the parameter name in a odd notation:
<form name="form1>
<input type="checkbox" name="fieldname[]" value="1"><br>
<input type="checkbox" name="fieldname[]" value="2"><br>
<input type="submit" name="Submit" value="Submit" >
</form>
The "[]" array notation for multivalue parameters
With most languages you just do it on the normal way
Here we no need to put backslash in action in html form.Here you just put whatever you want "ccc". ANd put the same in web.xml
URL pattern /ccc.Then it will work fine.
<form action="CCC">---HTML FILE
<url-pattern>/ravi</url-pattern>---WEB>XML FILE
Then it will work fine.
Please dont put any slashes in the action in html file.It wont work and in turn it produces error.
Php versionMark March 6, 2012 at 11:56 PM
For php is similar but you must especify the parameter name in a odd notation: <form name="form1> <input type="checkbox" name="fieldname[]" value="1"><br> <input type="checkbox" name="fieldname[]" value="2"><br> <input type="submit" name="Submit" value="Submit" > </form> The "[]" array notation for multivalue parameters With most languages you just do it on the normal way
No Need of Backslash in Html form hereRavi March 27, 2012 at 7:20 PM
Here we no need to put backslash in action in html form.Here you just put whatever you want "ccc". ANd put the same in web.xml URL pattern /ccc.Then it will work fine. <form action="CCC">---HTML FILE <url-pattern>/ravi</url-pattern>---WEB>XML FILE Then it will work fine. Please dont put any slashes in the action in html file.It wont work and in turn it produces error.
Post your Comment