struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Mandel <>
Subject using expressions in htm:form action (el library)
Date Wed, 21 Apr 2004 02:38:48 GMT
Hey all - 

Using the Struts expression library (struts-html-el.tld) and trying to get
my form action to be dynamically populated - 

Can anyone see where I have gone wrong?

<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<tiles:importAttribute name="formAction"/>

<html:form method="post" action="${pageScope.formAction}">

I've tried it with and without the 'pageScope' however all I ever get back

Cannot retrieve definition for form bean null'

Which means, it's not setting the page scope variable? But why not?

[Tears Hair Out]

Any help would be appreciated!



Web Application Developer 
Hitachi Data Systems Corporation 

Inspire the Next 
4/441 St Kilda Rd Melbourne 3004 
Desk: +61 3 9281 9215 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message