hi,
I am passing values from
jsp to
servlet by using this method :
in jsp :
<form action="UploadServlet" method="post"
enctype="multipart/form-data">
<input type="file" name="file" size="50" />
<input type="submit" name="bt" value="gi" />
</form>
In Servlet :
String bt = request.getParameter("bt");
out.print("button value" +bt);
But when the servlet runs i get value of bt as null. Please help.