0
how to get the request from the html from for using in multiple servlet
i want to use single html form and its input field for the multiple servlet file . by the http request. can its possible..enlight me. and also give the code for example.
7 Respostas
+ 4
2 options come to mind:
1st option
You can get the attributes from your form in an inital servlet that uses the same attributes to call different servlets.
2nd option (only for testing: noy secure at all)
you couldhave a JS onclick function on the submit button, that is calling another servlet.
+ 1
guess you'll use php to handle the input.
if you have a servers network you can post your data on a server, redirect to a same page on another server and repeat as you deem necessary
+ 1
not sure what you want to accomplish but databases sync on multiple servers means you have to look for "database Replication"
+ 1
Thank u seamiki..
i will try..
thanks for ur concern.
0
im using apache. tomcat
i want to just use my login page value by request on multiple pages
0
for database query.
0
simply i want to take a input from form just like.
we have 2 field 1 for name 2 for pass..
so i want to use this field value in my different servlet file .
for database crud operations..
like on 1 file i want to match the name and pass from db.
and another file i want to Fatch all record related to this user name.
so my question is how i can use a single input field value on different different servlet pages and for different operations.
thanks bro