You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Will Spies/Towers Perrin <sp...@towers.com> on 2001/04/03 14:13:30 UTC

Debugging struts exceptions - correction

Oops...I put the wrong tag in there:

<html:form action="/logon" focus="badproperyname">

(see what I mean?)



----- Forwarded by Will Spies/Towers Perrin on 04/03/01 08:12 AM -----
                                                                                                                   
                                                                                                                   
                                         To:     struts-user@jakarta.apache.org                                    
                    Will Spies           cc:                                                                       
                                         Subject:     Debugging struts exceptions                                  
                    04/03/01                                                                                       
                    08:12 AM                                                                                       
                                                                                                                   
                                                                                                                   




Seems certain exceptions don't come with very good explanations. For
example, I have a tag which had a bad property:

<html:text property="badpropertyname" size="16" maxlength="16"/>

If 'badpropertyname' does not exist the exception I see in the log file is:

javax.servlet.ServletException: runtime failure in custom tag 'form'
     at jsp_servlet._logon._jspService(_logon.java, Compiled Code)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
     at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
     at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:507)
     at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:481)
     at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
     at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
     at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)


This doesn't always happen but it happens here and this is probably a
pretty common error. Any suggestions?

P.S. I use WLS 5.1 SP8