how to pass parameter from servlet to html form

Answer Posted / sachin s

You can also use HtppSessio, create a new session variable
and set the value and get the same value in HTML. However
this should be avoided if you want to pass to many
parameters.

Also,remember that Session variable should be flushed off
after the use, thats a good practise.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by chaining in servlet?

808


How to get the server information in a servlet?

915


Why servlet is faster than jsp?

784


What are sessions in servlets?

810


What exception should be thrown when servlet is not properly initialized?

781


Given the request path below, which are context path, servlet path and path info?

779


What is the difference between sendredirect() and forward() in a servlet?

753


Can we override servlet service method?

850


Is dispatcher servlet a singleton?

763


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1949


The code in a finally clause will never fail to execute, right?

831


What is called servlet mapping?

763


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

853


Why do we need servlet filter?

813


What is cookies in servlet with example?

739