JasperException: L'attribut name est incorrect
Bonjour,
J'ai fait une petite application en struts mais j'ai une erreur que je ne comprends pas.
J'ai deux vues (index.jsp qui comprends un formulaire et cotation.jsp qui affiche le resultat lorsque le symbole entrée vaut une certaine valeur)
J'ai l'erreur suivant :
Citation:
org.apache.jasper.JasperException: /index.jsp(15,1) L'attribut name est incorrect pour le tag form d'après la TLD indiquée
L'erreur de la ligne 15 est le name du html:form
mon index.jsp est :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<html:form action="Lookup" name="lookupForm" type="package1.LookupForm" >
<table>
<tr>
<td>Symbole : </td>
<td> <html:text property="symbole" /> </td>
</tr>
<tr>
<td colspan="2" align="center"><html:submit value="envoyer" /></td>
</tr>
</table>
</html:form> |
mon struts-config.xml ne contient que ceci :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <struts-config>
<form-beans>
<form-bean
name="lookupForm"
type="package1.LookupForm"/>
</form-beans>
<action-mappings>
<action path="/LookupAction" name="lookupForm" type="package1.LookupAction">
<forward name="succes" path="/cotation.jsp"></forward>
<forward name="echec" path="/index.jsp"></forward>
</action>
</action-mappings>
<message-resources parameter="MessageResources" />
</struts-config> |
Merci de votre aide,
fk04
JasperException: L'attribut name est incorrect
merci, ça marche et il y avait egalement une erreur dans le fichier de struts. en effet l'attribut path de l'element action est Lookup :D