hi i am trying a piece of
JSP code but i am not getting the required result. Can you help me please
When i am trying with the code below, it is showing the result, but text box and password box are missing. i have also attached the screenshot for this.
but the book which i am following, in that the .jsp page has coding like
but this code gives error and does not compile.
pease tell me what is the correct way of doing it ?
Also my struts-config file is like this
and my RegisterForm.java class is like
and my RegisterAction.java class is like this
now my question is .. from .jsp page, where i put the username and password1 and passwrd2 ..the RegisterForm is called and it's object is created ..but how does the RegisterForm claas knows which value from jsp page will go and get set into which RegisterForm class variable ?