Have you put struts.jar in your WEB-INF/lib directory (correct) or in
the orion/lib directory (incorrect)?

Also struts needs to be patched to work with Orion (ActionServlet.java
as I remember, its in the archives).



Mark Kettner wrote:
> 
> I'm trying to use jakarta-struts with orion1.4.5. I've subclassed the
> ActionForm class to AttributeTypeForm, but after deployment I get the
> following error:
> 
> javax.servlet.jsp.JspException: Exception creating bean of class
> com.fred.fredadmin.control.web.AttributeTypeForm:
> java.lang.ClassNotFoundException:
> com.fred.fredadmin.control.web.AttributeTypeForm
>        at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:527)
>        at
> /editattributetype.jsp._jspService(/editattributetype.jsp.java:81) (JSP
> page line 15)
>        at com.orionserver.http.OrionHttpJspPage.service(JAX)
>        at com.evermind.server.http.HttpApplication.xj(JAX)
>        at com.evermind.server.http.JSPServlet.service(JAX)
>        at com.evermind.server.http.d3.sw(JAX)
>        at com.evermind.server.http.d3.include(JAX)
>        at com.fred.fredadmin.taglib.InsertTag.doEndTag(InsertTag.java:61)
>        at /template.jsp._jspService(/template.jsp.java:48)
>        at com.orionserver.http.OrionHttpJspPage.service(JAX)
>        at com.evermind.server.http.HttpApplication.xj(JAX)
>        at com.evermind.server.http.JSPServlet.service(JAX)
>        at com.evermind.server.http.d3.sw(JAX)
>        at com.evermind.server.http.d3.su(JAX)
>        at com.evermind.server.http.d3.forward(JAX)
>        at
> com.fred.fredadmin.control.web.MainServlet.doGet(MainServlet.java:63)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:190)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
>        at com.evermind.server.http.d3.sw(JAX)
>        at com.evermind.server.http.d3.su(JAX)
>        at com.evermind.server.http.ef.s1(JAX)
>        at com.evermind.server.http.ef.do(JAX)
>        at com.evermind.util.f.run(JAX)
> 
> The error message is a bit cryptic, becase when I create a jsp page that
> accesses the AttributeTypeForm bean directly works. Also deploying the
> application with struts on orion1.3.8 and J2EE works.
> Has anyone experienced the same problem and/or solution?
> 
> Mark

-- 
David Smith

Software Development Manager
e-Net Software Ltd
[EMAIL PROTECTED]
begin:vcard 
n:Smith;Dave
x-mozilla-html:FALSE
url:http://www.enetsoftware.com
org:e-Net Software Ltd
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Development Manager
adr;quoted-printable:;;2530 The Quadrant=0D=0AAztec West=0D=0AAlmondsbury;Bristol;;BS32 4AW;England
x-mozilla-cpt:;0
fn:Dave Smith
end:vcard

Reply via email to