so i thought to post what i know on this...
i recomend u to practice Struts basics tutorial on before this Netbeans official site.
1. new project>web>web application
2.struts1.2.9
3.new JSP>anyname
i named mine as 'sampleJSP.jsp'
4.add html taglib
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h" %>
5. Add a form tag to JSP using tag lib
< property="name">
< value="OK">
< / html:form>
*important: superclass should be org.apache.struts.validator.ValidatorForm
7. Make getters and setters for text field in JSP
(if u create a propety called 'name' you dont need to do this, bcoz
Netbeans defaultly create for String 'name and int 'number'
(the Action path you give here can give in JSP)