I wish to convert legacy ASP pages to JSP. They are fairly standard ASP pages that do a FORM post to another ASP page, however even the most standard things are trivial for this guy.
what would be the JSP equivalent of these ASP syntaxes?
<INPUT type=text name="cat" value="<%=Request.Form ("cat")%>">
<INPUT type=text name="catId" value='<%=Request.form("catId").item%>'>
would it be something as such?
<INPUT type=text name="cat" value="<%=request.getParameter("cat")%>">
or how would i use JSP form syntax similar to how the ASP gets the values from the forms?
Aucun commentaire:
Enregistrer un commentaire