Re: Debuging templates.

2002-01-03 Thread Mark Gordon

Hey, Thanks

That helped... found my bug.

I am still up for anymore good advice on debugging templates!

-Mark

Vaughan Jackson wrote:

> Mark,
> 
> You might try going directly to the template-included 
> page instead, to see what is happening on that page
> Change the URL in the browser to something like 
> /accountaccess/te/maintenance.jsp. It might
> be that whatever the real problem is will still turn up
> outside of the context of the template
> 
> Vaughan.
> 
> 
>>-Original Message-
>>From: Mark Gordon [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, January 03, 2002 2:40 PM
>>To: [EMAIL PROTECTED]
>>Subject: Debuging templates.
>>
>>
>>
>>Does anyone have any advice on debugging jsp pages when using 
>>struts-templates?
>>
>>Here is a sample stack trace.  It points to the InsertTag.doEndTag.
>>
>>And JSP page maintenance.jsp line 54, but maintenance.jsp has 
>>only 35 lines!
>>
>>Any advice on better exception throwing... or how I can find better 
>>error messages?
>>
>>Thanks
>>Mark
>>
>>
>>
>>javax.servlet.jsp.JspException: 
>>com.telesoft.telmast.webmvc.LocationForm
>>  at 
>>org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag
>>.java:149)
>>  at 
>>_te._maintenance__jsp._jspService(/accountaccess/te/maintenanc
>>e.jsp:54)
>>  at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
>>  at com.caucho.jsp.Page.subservice(Page.java:485)
>>  at 
>>com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
>>e.java:176)
>>  at 
>>com.caucho.server.http.Invocation.service(Invocation.java:278)
>>  at 
>>com.caucho.server.http.CacheInvocation.service(CacheInvocation
>>.java:129)
>>  at 
>>com.caucho.server.http.ServletServer.serviceTop(ServletServer.
>>java:847)
>>  at 
>>com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
>>  at 
>>com.caucho.server.http.HttpRequest.handleConnection(HttpReques
>>t.java:158)
>>  at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
>>  at java.lang.Thread.run(Thread.java:484)
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: 
>><mailto:[EMAIL PROTECTED]>
>>
>>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Debuging templates.

2002-01-03 Thread Vaughan Jackson

Mark,

You might try going directly to the template-included 
page instead, to see what is happening on that page
Change the URL in the browser to something like 
/accountaccess/te/maintenance.jsp. It might
be that whatever the real problem is will still turn up
outside of the context of the template

Vaughan.

> -Original Message-
> From: Mark Gordon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 03, 2002 2:40 PM
> To: [EMAIL PROTECTED]
> Subject: Debuging templates.
> 
> 
> 
> Does anyone have any advice on debugging jsp pages when using 
> struts-templates?
> 
> Here is a sample stack trace.  It points to the InsertTag.doEndTag.
> 
> And JSP page maintenance.jsp line 54, but maintenance.jsp has 
> only 35 lines!
> 
> Any advice on better exception throwing... or how I can find better 
> error messages?
> 
> Thanks
> Mark
> 
> 
> 
> javax.servlet.jsp.JspException: 
> com.telesoft.telmast.webmvc.LocationForm
>   at 
> org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag
> .java:149)
>   at 
> _te._maintenance__jsp._jspService(/accountaccess/te/maintenanc
> e.jsp:54)
>   at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
>   at com.caucho.jsp.Page.subservice(Page.java:485)
>   at 
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> e.java:176)
>   at 
> com.caucho.server.http.Invocation.service(Invocation.java:278)
>   at 
> com.caucho.server.http.CacheInvocation.service(CacheInvocation
> .java:129)
>   at 
> com.caucho.server.http.ServletServer.serviceTop(ServletServer.
> java:847)
>   at 
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
>   at 
> com.caucho.server.http.HttpRequest.handleConnection(HttpReques
> t.java:158)
>   at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Debuging templates.

2002-01-03 Thread Mark Gordon


Does anyone have any advice on debugging jsp pages when using 
struts-templates?

Here is a sample stack trace.  It points to the InsertTag.doEndTag.

And JSP page maintenance.jsp line 54, but maintenance.jsp has only 35 lines!

Any advice on better exception throwing... or how I can find better 
error messages?

Thanks
Mark



javax.servlet.jsp.JspException: com.telesoft.telmast.webmvc.LocationForm
at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:149)
at _te._maintenance__jsp._jspService(/accountaccess/te/maintenance.jsp:54)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:176)
at com.caucho.server.http.Invocation.service(Invocation.java:278)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
at com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:847)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)




--
To unsubscribe, e-mail:   
For additional commands, e-mail: