GTU WTAD Practical 12 : Write a Servlet to display parameters available on request. .

GTU WTAD Practical 12 : Write a Servlet to display parameters available on request. .

GTU WTAD Practical 12

Another important point that is very command and very useful to get value from the request url. When you send query string data using servlet then you can receive this data using getParameter() method. Suppose you have database and you would like to edit record then best way to send record id as query string to the page, this value can be get using getParameter() method of request object.

File Name : index.jsp

File Location : Tomcat_Apache\webapps\gtu12\

 

File Name : web.xml

File Location : Tomcat_Apache\webapps\gtu12\WEB-INF\

 

File Name : AvailableParameters.java

File Location : Tomcat_Apache\webapps\gtu12\WEB-INF\classes

 

Output

GTU WTAD Practical 12

Adarsh Patel

My Self Adarsh Suryakant Patel. Currently I am working as Assistant Professor at Parul Instiute of Engineering and Technology, MCA Department, Limda, Vadodara. Major Responsibility : * Lectures * Organizing Training and Expert Sessions for * Placement and Recruitment * Faculty Representative