Hi, Im using struts2 and eXo.
My JSP contains one form that submit to my action as follow:
<%@ taglib prefix=*"s"* uri=*"/struts-tags"* %>
<link rel=*"stylesheet"* type=*"text/css"* href="<s:url value=*
"/styles/styles.css"*/>">
<H2>Input your name</H2>
<s:form action=*"form-example"* method=*"POST"* portletMode=*"view"*>
<s:textfield label=*"First name"* name=*"firstName"*/>
<s:textfield label=*"Last name"* name=*"lastName"*/>
<s:submit value=*"Submit the form"*/>
</s:form>
Im using annotation (struts 2.2.1)
@Results ({
@Result (name=FormExampleAction.*INPUT*, location=
"/WEB-INF/view/formExampleInputValidation.jsp"),
@Result (name=FormExampleAction.*SUCCESS*, location=
"/WEB-INF/view/formExample.jsp")
})
After submit, throw a IllegalStateException on method isCommitted:
IllegalStateException("Not
allowed in event phase")
Whats wrong? thanks
VinÃcius Ferraz Campos Florentino