struts-layout using struts 1.0/1.1 ?

2001-08-31 Thread Chris Chang

Folks

got a question about struts-layout, does it use struts 1.0 or 1.1? cuz I
have a problem that when I use struts-layout in my application, It generates
the following error:

500 Internal Server Error
Error parsing JSP page /commodity_form.jsp line 38
Tag class fr.improve.struts.taglib.layout.FieldTag not found:
org/apache/struts/action/ActionMessages

However, I already searched through my struts.jar (which is 1.0 only) and I
cannot find the ActionMessages.  Is that ActionMessages from
struts-validator (with different package name)?

If struts-layout has to use with struts 1.1, are there any version of
struts-layout that uses struts 1.0, cuz we r not ready for struts 1.1 yet.
Pls advise.

Thanks in advance

Chris Chang



Best Practices for using Struts and Validators in ASP model

2001-06-21 Thread chris . chang

Hi folks,

I would like to know anyone using Struts and Validators for ASP (application
service provider, not active server page 8)) model.  What I want to know is
If I have the same application for different subscribers/clients, they may
have different requirements (e.g. screen flow and validation, etc.).  Which
implies each subscriber may has its own struts-config.xml / validator.xml.
My question is what is the best deployment strategy for that?

Any ideas?

Thanks in advance!

Chris



RE: Server-side form validation - anything in STRUTS?

2001-06-14 Thread chris . chang

Hi Dave,

Try this http://home.earthlink.net/~dwinterfeldt/

Struts Validator - Validation Framework for Struts

Hope this can help 8)

-Original Message-
From: Dave Small [mailto:[EMAIL PROTECTED]]
Sent: June 14, 2001 5:51 AM
To: [EMAIL PROTECTED]
Subject: RE: Server-side form validation - anything in STRUTS?


 -Original Message-
 From: Kyle Brown [mailto:[EMAIL PROTECTED]]
 Sent: 14 June 2001 12:24

Hi Kyle,

Thanks for this response.

 Have you read any of the Struts documentation?

If you mean the User Guide on the STRUTS site, yes I have. But it
doesn't include much of a 'discussion' on form validation - that is why
I have tried to start one up...

 Also, you could go to my article on the VisualAge
 developer's domain about why you want to use Struts

I have now looked at this - thanks for the pointer...

 Of couse, the documentation also makes this perfectly clear...

It's perfectly clear how a single form can be validated within STRUTS
(thanks to Wellington Lacerda for his input and clarification too).
However, your article points to implementing the 'validate' method in a
very low-level way, coding the validation logic on a per-form basis as
required. I guess my real question was whether STRUTS had taken a
higher-level abstraction of the validation required, so that form
validation can be expressed external to the Java code (eg. in a
properties file). 

Wellington Lacerda ponits out that 'Inside the validation method you can
use any kind of logic you want' - is there any work on generalising this
logic?

Thanks for you time on this one :)
Dave



RE: Anyone have the Struts Validator example working?

2001-06-05 Thread chris . chang

I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:

500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line 9)
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

==
My Settings are as follow:
==
Orion: 1.5.2
[application.xml]
  web-module id=validator
path=../../../../dev/share/struts-validator/validator//
[default-web-site.xml]
  web-app application=default name=validator root=/share/validator/

validator.war: extracted from validator20010510.zip 
this war file is extracted and put in directory
../../../../dev/share/struts-validator/validator/

modify web.xml for load-on-startup value to 1 from 2 (already tried 0 too -
same error) as follows:
  !-- Validator Initialization Servlet Configuration --
  servlet
servlet-namevalidator/servlet-name
 
servlet-classcom.wintecinc.struts.action.ValidatorServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/validation.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet

  !-- Action Servlet Configuration --
  servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
 
param-valuecom.wintecinc.struts.example.validator.ApplicationResources/pa
ram-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet

Am I missing sth?

Thanks in advance!

Chris

-Original Message-
From: Chuck Stern [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I'm using Orion 1.5.1 and Struts_Validator-20010510.jar.

It worked when I changed the load-on-startup value to 1 (or 0).  A value of
2 caused the mentioned error.  What was weird is that if I moved the
web-app definition for the validator below the strut action servlet
definition in the web.xml file I would get the following error:

java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)
at
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.java:20
98)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._xdd(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._cob._shc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._rzc(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._iz._ft(Unknown Source)
at com.evermind[Orion/1.5.1 (build 10410)]._ip.run(Unknown Source)

It looks different but it's really the same sore of error that struts was
having, it's just not expecting null though.

Chuck


-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:34 AM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


What version are you using and what did you change to
make it work.  Maybe I can fix it.  Does Orion only
accept '1' as a valid load-on-startup value?

load-on-startup2/load-on-startup

David

--- Chuck Stern [EMAIL PROTECTED] wrote:
 

RE: Anyone have the Struts Validator example working?

2001-06-05 Thread chris . chang

My findings with the following settings:

==
load-on-startup=0 or 1
web.xml's setting definition sequence:
  1. validator servlet 
  2. strut action servlet
==
All registration example - javax.servlet.jsp.JspException: Cannot find
message resources under key org.apache.struts.action.MESSAGE
both change language example - javax.servlet.jsp.JspException: Cannot find
global ActionForward for name registration

==
load-on-startup=0 or 1
web.xml's servlet definition sequence:
  1. strut action servlet
  2. validator servlet 
==
Registration Example - input form can be displayed - error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

Registration with Javascript Validation and Server Validation - 
java.lang.NullPointerException
at
com.wintecinc.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascrip
tValidatorTag.java:174)

Multi-Part Registration Example with Javascript Validation and Server
Validation
java.lang.NullPointerException
at
com.wintecinc.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascrip
tValidatorTag.java:174)

Type Example validating some primitive numbers, a range on the integer, and
a date.  - input form can be displayed - error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

Both change language example - input from with correct lang. can be
displayed - error when save
java.lang.NullPointerException
at
com.wintecinc.struts.action.ValidatorForm.validate(ValidatorForm.java:123)

==
web.xml's servlet definition sequence:
  1. validator servletwith load-on-startup = 2
  2. strut action servlet with load-on-startup = 1
==

Everything works Fine 

Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: June 5, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Anyone have the Struts Validator example working?


I still have the following error when I tried to access
http://localhost/share/validator/registration.jsp:

500 Internal Server Error
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:292)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
at /registration.jsp._jspService(/registration.jsp.java:72) (JSP
page line 9)
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

==
My Settings are as follow:
==
Orion: 1.5.2
[application.xml]
  web-module id=validator
path=../../../../dev/share/struts-validator/validator//
[default-web-site.xml]
  web-app application=default name=validator root=/share/validator/

validator.war: extracted from validator20010510.zip 
this war file is extracted and put in directory
../../../../dev/share/struts-validator/validator/

modify web.xml for load-on-startup value to 1 from 2 (already tried 0 too -
same error) as follows:
  !-- Validator Initialization Servlet Configuration --
  servlet
servlet-namevalidator/servlet-name
 
servlet-classcom.wintecinc.struts.action.ValidatorServlet/servlet-class
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/validation.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet

  !-- Action Servlet Configuration --
  servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
 
param-valuecom.wintecinc.struts.example.validator.ApplicationResources/pa
ram-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  

RE: (struts + EJB) example

2001-04-27 Thread chris . chang

Hi Bryan,

Thanks for your reply and pointer!

I got several questions for u and all experts of this list,

Any reasons behind regarding the recommendation about the tags vs. actions
dilemma?
  ==
  =1. if the Java code will alter your Model, then put it in an Action (or =
  =equivalent).=
  =2. if the Java code is only reading your Model to aid in rendering some =
  =portions of it, the put it in a custom JSP tag. =
  ==

Do u mind to give me more information about your application architecture?

For the sake of discussion, let's assume I only have two tables (parent and
child), what will be the steps for doing fundamental stuff like query,
update and create?

For example, use case for query of record:
1. jsp captures all required parameters for the query
2. action form creates corresponding query form bean and validation
3. action invokes business delegate and then service locator for getting a
jndi reference to corresponding EJB (session or entity)
4. action form (another one) creates corresponding display form bean with
attribute of list of records (e.g. array)
5. action (another one) copies EJB to list
6. jsp displays results using iterate tag for the list

Thanks again, I appreciate!

P.S.
I'm very very new for such development environment (struts + EJB), please be
patience 8)

Chris

-Original Message-
From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]
Sent: April 26, 2001 4:39 PM
To: [EMAIL PROTECTED]
Subject: Re: (struts + EJB) example


Chris,

I don't have an example for you, but I have written a brief post-mortem 
analysis of a major project just finished which used EJB and Struts. It 
can be found here:

http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg06088.html

It was posted to this group, but no one had anything to say in response, 
other than someone who referred me to a different framework (Barracuda), 
which I will be investigating next.

Regards,

Bryan


[EMAIL PROTECTED] wrote:

Folks,

Anyone know where I can get an example which use struts and ejb?

Thanks in advance!

P.S.
Struts can work out of box with latest version of orion (i.e. 1.4.8) now 8)

Chris






(struts + EJB) example

2001-04-26 Thread chris . chang

Folks,

Anyone know where I can get an example which use struts and ejb?

Thanks in advance!

P.S.
Struts can work out of box with latest version of orion (i.e. 1.4.8) now 8)

Chris



RE: Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-20 Thread chris . chang

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)



RE: Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-20 Thread chris . chang

Hi Cedric,

Thanks for your hack!  Actually, it is my fault, I forgot to remove the
*.dtd files from struts.jar and move it under directory "classes".  Once I
did that, the tutorial works fine 8) Sorry about that!

Chris

-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: April 20, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Error in comps-tutorial.war (Struts + Components + Orion)



  I think this problem comes from Orion. I have waste more than 1 hour to
let
Struts and Components run on Orion, because of parsing validation errors.
Finally, I have solve this issue with a hack : I have removed validating DTD
from struts-config.xml (remove tag !DOCTYPE  ...). After that, I got some
warning at initialization, but all seem to work fine.
  May be you can try the same ...
  All seem to work fine with my Orion server settings, even incriminated
pages.

  Cedric


[EMAIL PROTECTED] wrote:

 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)
 

Error in comps-tutorial.war (Struts + Components + Orion)

2001-04-18 Thread chris . chang

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)