-
Nov 14th, 2007, 10:30 AM
#1
Variable like ${user.email} is printed out as ${user.email}
Hi, I'm new to Spring Web Flow and in general to web-development. Now I adapted more or less the sellitem-application because I want to develop a wizard like thing. But when I try to access values of the backing bean value (in my case 'email' on 'user') via ${user.email}, exactly that string (${user.email}) is shown on the page.
Does anyone know a solution, did I forget some libraries, taglibs usw. or should I post my configuration?
Thanks in advance...
-
Nov 14th, 2007, 10:32 AM
#2
Make sure your web application is servlet api 2.4 enabled, you probably use 2.3 (check your web.xml header).
-
Nov 14th, 2007, 10:41 AM
#3
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
Looks like its 2.5. I use Tomcat 5.5.25.
There's another little thing which is weired. Because when I use the FormAction to prepare Date for the form eg. the ages and I access them like this:
<form:select path="age" items="${ages}" itemValue="id" itemLabel="age"/>
it works... But not with the backing bean..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules