You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Stefan Faist <st...@hmi-informatik.de> on 2001/07/10 09:04:07 UTC

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: stefan.faist@hmi-informatik.de
http://www.hmi-informatik.de