http://r4r.co.in/java/struts/basic/t...Struts%20Basic

go with this link this will help you solve your problem...