2º Se o erro ocorreu novamente, o problema está no focus, experimento deixar o focus sem nada.
focus=""
Abraços
almarti
segue código de struts-config
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"><struts-config><form-beans><form-beanname="OcorrenciaForm"type="com.celulajava.palestradwr.bean.OcorrenciaForm"/></form-beans><global-exceptions></global-exceptions><global-forwards><forwardname="welcome"path="/Welcome.do"/></global-forwards><action-mappings><actionpath="/iniciarOcorrenciaForm"forward="/lancamentos/ocorrencia.jsp"/><actionpath="/cadastrarOcorrencia"type="com.celulajava.palestradwr.bean.CadastrarOcorrenciaAction"name="ocorrenciaForm"scope="request"validate="false"><forwardname="sucesso"path="/confirmacao.jsp"/></action></action-mappings><controllerprocessorClass="org.apache.struts.tiles.TilesRequestProcessor"/><message-resourcesparameter="com/myapp/struts/ApplicationResource"/><!-- ========================= Tiles plugin ===============================--><!-- This plugin initialize Tiles definition factory. This later can takes some parameters explained here after. The plugin first read parameters from web.xml, thenoverload them with parameters defined here. All parameters are optional. The plugin should be declared in each struts-config file. - definitions-config: (optional) Specify configuration file names. There can be several comma separated file names (default: ?? ) - moduleAware: (optional - struts1.1) Specify if the Tiles definition factory is module aware. If true (default), there will be one factory for each Struts module. If false, there will be one common factory for all module. In this later case, it is still needed to declare one plugin per module. The factory will be initialized with parameters found in the first initialized plugin (generally the one associated with the default module). true : One factory per module. (default) false : one single shared factory for all modules - definitions-parser-validate: (optional) Specify if xml parser should validate the Tiles configuration file. true : validate. DTD should be specified in file header (default) false : no validation Paths found in Tiles definitions are relative to the main context. --><plug-inclassName="org.apache.struts.tiles.TilesPlugin"><set-propertyproperty="definitions-config"value="/WEB-INF/tiles-defs.xml"/><set-propertyproperty="moduleAware"value="true"/></plug-in><!-- ========================= Validator plugin ================================= --><plug-inclassName="org.apache.struts.validator.ValidatorPlugIn"><set-propertyproperty="pathnames"value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/></plug-in></struts-config>
Fiz a alteração sugerido por Caca, mas o erro permaneceu.
almarti
Alguem já passou por este problema?
vivi_grieco
declara os elementos do teu form no teu struts-config.
exemplo: