what can one call the jsp file 2 controller files in java? -


what can 1 call jsp file 2 controller files in java??

this jsp file

<form:form commandname="userprofile" method="post" action="createuserform.html" id="userform" enctype="multipart/form-data">        <table class="detail"> <tr>     <th><label for="userprofile.username"><fmt:message key="global.username"/>:</label></th>     <td>         <form:input path="userprofile.username" id="username" size="50" maxlength="300"/>         <form:errors path="userprofile.username" cssclass="fielderror"/>     </td>     ...     ...     ...     <td>         <input type="submit" class="button" name="submit" value=" save " onclick="return checkpassword();"/>         <input type="button" class="button" name="cancel" value="cancel" onclick="window.location.href='<c:out value="${ctx}"/>/listuser.html'">     </td> </tr>  </table>     

and 2 examples file controller in java createuserformcontroller.java

import java.net.inetaddress;  public class createuserformcontroller extends simpleformcontroller {       public createuserformcontroller() {         setcommandname("userprofile");                        setcommandclass(useruploadmodelhelper.class);     }     ...     ...     ...  } 

this file createuserlogfromcontroller.java

public class createuserlogfromcontroller extends simpleformcontroller {       public createuserlogfromcontroller(){         setcommandname("userlog");         setcommandclass(useruploadmodelhelper.class);     }     ...     ...     ... } 

how call jsp files 2 controller file???


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -