Yes I noticed that bug report. Here's the relevant snippet for the login form.
TIA, Rahul ----- snip -------- <div style="position:absolute; top:240px; left:55%; z-index:1;"> <form name="loginform" action="/admin/index.jsp" method="post"> <table width=200 cellpadding=0 cellspacing=0> <tr> <td width=1 height=19><img src="/admin/img/login/login_boxheaderleft.gif"></td> <td width="100%" height=19 background="/admin/img/login/login_boxheaderbg.gif"> <span class="Login_boxheader">Login</span></td> <td width=7 height=19><img src="/admin/img/login/login_boxheaderright.gif"></td> </tr> <tr> <td width=1 background="/admin/img/login/login_boxheaderleft.gif" class="Login_boxbody"></td> <td width="100%" class="Login_boxbody"> <table border=0 cellpadding=5 cellspacing=0 align=center class="Login_boxbody"> <tr> <td colspan="3" height="15"><img src="/images/clear.gif" height="1" width="1"><br></td> </tr> <tr> <td nowrap> Username</th> <td><input type="text" name="username" size=25 maxlength=32 class="Login_boxpassword" value=""><br></td> <td> </td> </tr> <tr> <td align="right">Password</th> <td><input type="password" name="password" size=25 maxlength=32 class="Login_boxpassword"><br></td> <td> </td> </tr> <tr> <td colspan=2 align=right> <table width="100%" cellpadding=0 cellspacing=0 border=0> <tr> <td valign=center> <span class="Login_boxerror"></span></td> <td align=right><a href="javascript: document.loginform.submit ();" onmousedown="changeImage ('btn_login', '/admin/img/login/login_button_d.gif');" onmouseup="restoreImage ('btn_login');" onmouseout="restoreImage ('btn_login');"><img name="btn_login" src="/admin/img/login/login_button_u.gif" border=0></a></td> </tr> </table> </td> <td> </td> </tr> </table> </td> <td width=7 align=right background="/admin/img/login/login_boxbodyright.gif" class="Login_boxbody"><img src="/admin/img/login/login_boxbodyright.gif"></td> </tr> <tr> <td colspan = 3 height=1 bgcolor=#003300><img src="/admin/img/info/info_spacer.gif" height=1></td> </tr> </form> </table> </div> ------ end snippet ---- On 4/10/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote:
Can you also post the HTML Form? May be it has some syntax errors. Someone has reported a bug that looks a bit similar but is not the same: http://mail-archives.apache.org/mod_mbox/tomcat-dev/200401.mbox/[EMAIL PROTECTED] -Rashmi On 4/9/07, Rahul Thakur <[EMAIL PROTECTED]> wrote: > root cause java.lang.NullPointerException > java.util.Hashtable.get(Hashtable.java:333) > org.apache.tomcat.util.http.Parameters.getParameterValues(Parameters.java:193) > org.apache.tomcat.util.http.Parameters.getParameter(Parameters.java:238) > org.apache.catalina.connector.Request.getParameter(Request.java:1007) > org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:353) > eluminet.wlp.modules.users.servlet.tags.UserLoginTag.doStartTag(UserLoginTag.java:101) > org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:81) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > ----- End of Error ----- > > > Also, here is the relevant snippet from the taglib handler > implementation which is blowing up on the first call to > pageContext.getRequest ().getParameter (username). > > ----- quote ---- > > username = pageContext.getRequest ().getParameter (username); > System.out.println ("param : 'username' , value: '" + > username + "'"); > password = pageContext.getRequest ().getParameter (password); > System.out.println ("param : 'password' , value: '" + > password + "'"); > logout = pageContext.getRequest ().getParameter (logout); > System.out.println ("param : 'logout' , value: '" + logout + "'"); > > ------ end quote ----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]