Hi Stafan,

A forward is not the same thing as a form bean. You must have a verwaltung_2
form bean defined with a getAction method for the logic:equals you have
below to work. 

You might want to have a look at the struts-example web app that comes with
Struts. This contains an example that uses a logic:equals tag.

Jon.

-----Original Message-----
From: Stefan Faist [mailto:[EMAIL PROTECTED]] 
Sent: 10 July 2001 08:04
To: Struts
Subject: logic equal

Hi,
in my struts-config.xml the fallowing forwards:

<forward name="Edit" path="/verwaltung_2.jsp?action=Edit"/>
<forward name="Create" path="/verwaltung_2.jsp?action=Create"/>

And in the verwaltung_2.jsp I want to do this:

<logic:equal name="verwaltung_2" property="action" scope="request"
value="Create">
        <title><bean:message
key="verwaltung.mitarbeiter.titel.create"/></title>
</logic:equal>
<logic:equal name="verwaltung_2" property="action" scope="request"
value="Edit">
          <title><bean:message
key="verwaltung.mitarbeiter.titel.edit"/></title>
</logic:equal>

But I get this error:

javax.servlet.ServletException: No bean found under attribute key
verwaltung_2

Do any one know what I do wrong?

Best regards,
Stefan Faist


----------------------------------------------
hmi-Informatik GmbH
Zettachring 6 - D-70567 Stuttgart
E-Mail: [EMAIL PROTECTED]
http://www.hmi-informatik.de

Reply via email to