java - Generate link with two input fields -


i have 2 input fields

field1 , field2

i want generate external link when clicking submit button

e.g. of link follow,

www.mystie.com/field1 + sometext + field2


i need formula use google map direction

user request.getparameter( "field1" ) in action servlet

string link = request.getparameter( "field1" ) +"sometext" + request.getparameter( "field2" ); 

where html is

<form action="myservlet" method="post">   <input name="field1"/>   <input name="field2"/> </form> 

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -