PDA

View Full Version : [JAVA-STRUTS] Azione da button


bobby1112
01-08-2010, 10:13
ciao sono nuovo di struts e vorrei lanciare una azione da un html:button

ecco il codice all' interno della jsp


<html:button property="/TestAction" value="Esegui"></html:button>


e nel file di configurazione di struts ho



<action path="/TestAction" input="/index.jsp" scope="request" >
<forward name="Ok" path="/succ.jsp"/>
</action>



ma non và

:muro:

Tommy
01-08-2010, 17:06
Prova ad utilizzare il tag html:submit