You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Magnus Berg <ma...@ibitec.se> on 2002/10/16 14:21:00 UTC

struts-example.jsp

Hi

I tried to install the slide taglib example called struts-example.jsp as a JetSpeed JspPortlet. I've managed to solve quite a few obstacles along the way but now I'm stuck.

Jasper compiles the thing alright but when it tries to run it, it says:

Error encountered processing a template: /portlets/html/struts-example.jsp javax.servlet.ServletException: Cannot find bean domain in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471) at org.apache.jsp.struts_0002dexample$jsp._jspService(struts_0002dexample$jsp.java:206) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at

I read that Jasper 2 (that came with Tomcat 4.1) had a bug regarding nested tags, so I tried to use the old Jasper jars from an old Tomcat 4.0 but I get the same error.

I can't see exactly where it fails either, because the original exception is discarded in PageContextImpl.handlePageException(), and I can't insert debugging printouts in the .java-file cause Jasper just overwrites it.

Somebody?

	Magnus

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: struts-example.jsp

Posted by Thomas Schueppel <t....@bit-side.com>.
Magnus Berg wrote:
> Hi
> 
> I tried to install the slide taglib example called struts-example.jsp as a JetSpeed JspPortlet. I've managed to solve quite a few obstacles along the way but now I'm stuck.
> 
> Jasper compiles the thing alright but when it tries to run it, it says:
> 
> Error encountered processing a template: /portlets/html/struts-example.jsp javax.servlet.ServletException: Cannot find bean domain in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471) at org.apache.jsp.struts_0002dexample$jsp._jspService(struts_0002dexample$jsp.java:206) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at
> 
> I read that Jasper 2 (that came with Tomcat 4.1) had a bug regarding nested tags, so I tried to use the old Jasper jars from an old Tomcat 4.0 but I get the same error.
> 
> I can't see exactly where it fails either, because the original exception is discarded in PageContextImpl.handlePageException(), and I can't insert debugging printouts in the .java-file cause Jasper just overwrites it.
> 
> Somebody?

	hi Magnus,
	
	have you tried the newest jasper from tomcat 4.1.12 ?
	This solved it for me at least.

	l8r...
		Thomas


-- 
Dipl.-Inf. Thomas Schüppel    Fon:   +49+30+394054-28
bit~side GmbH                 Fax:   +49+30+394054-50
Salzufer 14a / Aufgang D      Email: t.schueppel@bit-side.com
10587 Berlin                  WWW: http://www.bit-side.com




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>