AW: struts or tomcat 3.2.1 bug?

2001-09-07 Thread juraj Lenharcik

hello,

the stange thing is, when i get the bean with useBean then i can access all
elements and put them out. no problems perform.

then i put my iterate tag to the jsp. when i debug the jsp i can see that
the bean is correctly in the scope and CAN BE ACCESSED! the iterator runs
ONCE trought the bean writes and then the scope of the bean is suddenly
lost. then i get my meaningful jsp - exception. what could be the problem???


there should be no startup mistake.


thanks
juraj






-Ursprüngliche Nachricht-
Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 6. September 2001 18:19
An: [EMAIL PROTECTED]
Betreff: Re: struts or tomcat 3.2.1 bug?




On Thu, 6 Sep 2001, juraj Lenharcik wrote:

 Date: Thu, 6 Sep 2001 17:36:36 +0200
 From: juraj Lenharcik [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts or tomcat 3.2.1 bug?

 does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there
was
 a message few weeks ago, but i cant find it again. can someone give me a
 tip?

 the problem is, that i have an application under resin 2.0.2 running and
 when i put it on tomcat 3.2.1 it doesnt run. i get an exception:
 javax.servlet.ServletException: Cannot find bean data in scope
session.


Check your Tomcat log files for error and exception messages -- this kind
of thing is usually caused by missing classes at startup time.


 thanks
 juraj



Craig McClanahan




struts or tomcat 3.2.1 bug?

2001-09-06 Thread juraj Lenharcik

does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there was
a message few weeks ago, but i cant find it again. can someone give me a
tip?

the problem is, that i have an application under resin 2.0.2 running and
when i put it on tomcat 3.2.1 it doesnt run. i get an exception:
javax.servlet.ServletException: Cannot find bean data in scope session.


thanks
juraj




Re: struts or tomcat 3.2.1 bug?

2001-09-06 Thread Craig R. McClanahan



On Thu, 6 Sep 2001, juraj Lenharcik wrote:

 Date: Thu, 6 Sep 2001 17:36:36 +0200
 From: juraj Lenharcik [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts or tomcat 3.2.1 bug?

 does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there was
 a message few weeks ago, but i cant find it again. can someone give me a
 tip?

 the problem is, that i have an application under resin 2.0.2 running and
 when i put it on tomcat 3.2.1 it doesnt run. i get an exception:
 javax.servlet.ServletException: Cannot find bean data in scope session.


Check your Tomcat log files for error and exception messages -- this kind
of thing is usually caused by missing classes at startup time.


 thanks
 juraj



Craig McClanahan





AW: struts or tomcat 3.2.1 bug?

2001-09-06 Thread juraj Lenharcik

hi craig,

i couldn`t find a new exception message in logs. the situation is:

the jsp is:

logic:present name=successMessage
centerh2 bean:message key=content.success//h2/centerbr
table width=100% border=1
 logic:iterate id=data name=content type=java.lang.Object 
trtdbean:write name=data property=name
scope=request/ : /td  
tdbbean:write name=data property=element
scope=request/ /b/td/tr 
 /logic:iterate   
/table  
/logic:present



in the action servlet is put:
req.setAttribute(data, formT); // formT is our Form bean


the struts config:
  form-beans
form-bean name=data type=di.workerClient.form.DbContentForm/
  /form-beans

 action path=/content 
type=di.workerClient.action.actionContent 
name=DbContentForm
scope=request
input=/TreePane.jsp  
forward name=view path=/cstree/content.jsp /
/action


can you see a mistake?

thanks
juraj




-Ursprüngliche Nachricht-
Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 6. September 2001 18:19
An: [EMAIL PROTECTED]
Betreff: Re: struts or tomcat 3.2.1 bug?




On Thu, 6 Sep 2001, juraj Lenharcik wrote:

 Date: Thu, 6 Sep 2001 17:36:36 +0200
 From: juraj Lenharcik [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts or tomcat 3.2.1 bug?

 does anyone knows about a bug in tomcat 3.2.1 with struts? i mean there
was
 a message few weeks ago, but i cant find it again. can someone give me a
 tip?

 the problem is, that i have an application under resin 2.0.2 running and
 when i put it on tomcat 3.2.1 it doesnt run. i get an exception:
 javax.servlet.ServletException: Cannot find bean data in scope
session.


Check your Tomcat log files for error and exception messages -- this kind
of thing is usually caused by missing classes at startup time.


 thanks
 juraj



Craig McClanahan