Hi Cedric,
Thanks for your quick fix! I can test Components with Orion now
(comps-tutorial). It looks great! However, I got the following error from
several links (e.g. Language -> Francis, Main Menu -> Dynamic Definition,
etc.). I'm not sure whether this error is from my Orion's settings or my
environment settings. Would you mind to shed some lights on this for me?
=====
Error
=====
500 Internal Server Error
java.net.MalformedURLException: unknown protocol: jndi
at
org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
at
com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:46)
at com.sun.xml.parser.Parser.pushReader(Parser.java:2768)
at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2504)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:481)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
at org.apache.struts.digester.Digester.parse(Digester.java:716)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1317)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
at
s1.struts.component.ActionComponentServlet.init(ActionComponentServlet.java:
43)
at javax.servlet.GenericServlet.init(GenericServlet.java:232)
at com.evermind.server.http.HttpApplication.xc(JAX)
at com.evermind.server.http.HttpApplication.wu(JAX)
at com.evermind.server.http.HttpApplication.u5(JAX)
at com.evermind.server.http.eg.s9(JAX)
at com.evermind.server.http.eg.dr(JAX)
at com.evermind.util.f.run(JAX)
Thanks again! I appreciate 8)
Chris
-----Original Message-----
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: April 19, 2001 10:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Error in comps-tutorial.war (Struts + Components + Orion)
Ok, there was a bug preventing Components to run on Orion. It is now
corrected.
You can download latest version, and test it with Orion !
Cedric
Components sites :
http://www.lifl.fr/~dumoulin/components/
(mirror) : http://www.geocities.com/cedricdumoulin//components/
[EMAIL PROTECTED] wrote:
> Folks,
>
> Anyone using components on top of struts? I got a problem when I tried to
> execute comps-tutorial.war (tutorial from components) within orion.
>
> Any ideas? Pls c the attachment for error.
>
> P.S.
> I already moved the dtd files from struts.jar into the classes directory.
>
> Thanks in advance!
>
> Chris
>
> =====
> Error
> =====
>
> javax.servlet.jsp.JspException: Error - tag.useAttribute : attribute
> 'componentsList' not found in context. Check tag syntax
>
> at
>
s1.struts.taglib.component.UseAttributeTag.doStartTag(UseAttributeTag.java:1
> 28)
>
> at
> /layout/vboxLayout.jsp._jspService(/layout/vboxLayout.jsp.java:43) (JSP
page
> line 10)
>
> at com.orionserver.http.OrionHttpJspPage.service(JAX)
>
> at com.evermind.server.http.HttpApplication.xu(JAX)
>
> at com.evermind.server.http.JSPServlet.service(JAX)
>
> at com.evermind.server.http.d4.s3(JAX)
>
> at com.evermind.server.http.d4.include(JAX)
>
> at com.evermind.server.http.EvermindPageContext.include(JAX)
>
> at
>
s1.struts.taglib.component.InsertTag$InsertHandler.doEndTag(InsertTag.java:6
> 50)
>
> at
s1.struts.taglib.component.InsertTag.doEndTag(InsertTag.java:291)
>
> at
> /layout/classicLayout.jsp._jspService(/layout/classicLayout.jsp.java:67)
>
> at com.orionserver.http.OrionHttpJspPage.service(JAX)
>
> at com.evermind.server.http.HttpApplication.xu(JAX)
>
> at com.evermind.server.http.JSPServlet.service(JAX)
>
> at com.evermind.server.http.d4.s3(JAX)
>
> at com.evermind.server.http.d4.include(JAX)
>
> at com.evermind.server.http.EvermindPageContext.include(JAX)
>
> at
>
s1.struts.taglib.component.InsertTag$InsertHandler.doEndTag(InsertTag.java:6
> 50)
>
> at
s1.struts.taglib.component.InsertTag.doEndTag(InsertTag.java:291)
>
> at /index.jsp._jspService(/index.jsp.java:35)
>
> at com.orionserver.http.OrionHttpJspPage.service(JAX)
>
> at com.evermind.server.http.HttpApplication.xu(JAX)
>
> at com.evermind.server.http.JSPServlet.service(JAX)
>
> at com.evermind.server.http.d4.s3(JAX)
>
> at com.evermind.server.http.d4.s1(JAX)
>
> at com.evermind.server.http.eg.s9(JAX)
>
> at com.evermind.server.http.eg.dr(JAX)
>
> at com.evermind.util.f.run(JAX)