If the form is a POST type, then you can run into problems... why don't
you just do:
location.href = '../jsp/UpdateServlet?paramName2='+trialno;
?
glassfish_at_javadesktop.org wrote:
> I have a parameter,whose value I am passing from .jsp to servlet
>
> but it is passing Null
>
> JSP code:
>
> function aboutMeUpdate(trialno)
> {
> document.aboutMe.action = '../jsp/UpdateServlet?paramName2='+trialno;
> document.aboutMe.submit();
> }
>
>
> Servlet code:
>
> String paramName2 =request.getParameter("paramName2");
>
>
> Please help
> [Message sent by forum member 'shopperswing' (shopperswing)]
>
> http://forums.java.net/jive/thread.jspa?messageID=256253
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>