Alternatively, we can have two forms calling different Servlets. i.e.
in the form tag, we set action attribute like this: action=ServletOne.. for the second form, we can set attribute action to call another servlet. i.e. action=ServletTwo.
I couldn't put the codes as they dissappear when i do. \<form action="ServletOne\"> * code * \</form>
\<form action="ServletTwo\"> * code * \</form>
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.
Public Stiky Notes
<form action="ServletOne"> /* code processed by ServletOne */ </form>
<form action="ServletTwo"> /* code processed by ServletTwo*/ </form>
Page Comments
in the form tag, we set action attribute like this: action=ServletOne.. for the second form, we can set attribute action to call another servlet. i.e. action=ServletTwo.
I couldn't put the codes as they dissappear when i do.
\<form action="ServletOne\"> * code * \</form>
\<form action="ServletTwo\"> * code * \</form>
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.