Struts 2.0.9 + Tomcat 6 + Debian Linux

I'm not seeing any validation messages when the fields I submit are empty.
?debug=xml does not show any error messages on the stack.  Seems like the
validation is not firing.

What am I missing?  I tried to copy everything from the Logon example in the
tutorial which works like it should.

Struts.xml
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd";>
[snip]
  <package name="default" extends="struts-default" namespace="/">
    <action name="Question" class="com.csc.survey.ActionQuestion">
      <result>/Question2.jsp</result>
    </action>
  </package>

Struts.properties
struts.devMode = true
struts.url.http.port = 8080
struts.action.extension=html
struts.ui.theme=xhtml

Question2.jsp
<%@ taglib prefix="s" uri="/struts-tags" %>
[snip]
      <s:form method="post" action="Question">
      <s:textfield label="username" name="username"/>
        <s:radio list="question.answers" listKey="value" listValue="text"
name="q1" cssClass="radioClass" required="true"  /> 
        <s:submit value="doit" />
      </s:form>







Mitch Claborn
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to