tenho uma pagina inicial chamada login.jsp que tem usuario e senha para o usuario se logar estou tentando transformar a parte de layout em tiltes
mas esta dando esse seguinte erro!!!
java.lang.IllegalArgumentException: Path .recruiterLoginDef does not start with a “/” character
<plug-inclassName="org.apache.struts.tiles.TilesPlugin"><!-- Path to XML definition file --><set-propertyproperty="definitions-config"value="/WEB-INF/tiles-defs-recruiter.xml"/><set-propertyproperty="definitions-debug"value="1"/><set-propertyproperty="definitions-parser-details"value="0"/><set-propertyproperty="definitions-parser-validate"value="true"/><!-- Set Module-awareness to true --><set-propertyproperty="moduleAware"value="false"/></plug-in>
D
dmarcosm
Eu coloquei o exemplo para você ver as configurações do Tiles
Tipo…
definition name=".recruiterLoginDef"
não deveria ter esse “.” ai no começo!!! Coloca algo como:
definition name=“definicao.recruiterLoginDef”
Entendeu?! =)
Espero ter ajudado. Abraço.
L
lucianowolff
java.lang.IllegalArgumentException: Path definicao.recruiterLoginDef does not start with a “/” character