how to get form result on the same page

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to get form result on the same page

ramya
       

<form  action=" http://127.0.0.1:7101/departmentname-Project1-context-root/servlet1" >

   Dept Name <input type="text" name="deptname"/>

    <input type="submit" name="enter"/>

  </form>

this is my form element,now when i enter the department id and click on submit button iam getting the output on different page..my task is to get the output on the same page..how to get that..please help me