hi craig,

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

the jsp is:

<logic:present name="successMessage">
<center><h2> <bean:message key="content.success"/></h2></center><br>
<table width="100%" border="1">
     <logic:iterate id="data" name="content" type="java.lang.Object" >
                <tr><td><bean:write name="data" property="name"
scope="request"/> : </td>  
                <td><b><bean: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

Reply via email to