why cant we use normal html tags instead of struts html when using struts framework???
Harishwar Madhya
Greenhorn
Joined: Sep 01, 2010
Posts: 14
posted
0
I have a small doubt.. In interviews too they have been asked this question many times.. Could you please tell me "why cant we just use normal html tags instead of struts tags while using Struts framework??" what makes the difference of struts html and normal html tags??
You can use normal HTML tags like <input type="text" /> in JSP pages when you use Struts. If you use the struts tags, you get certain advantages like validation messages, automatic form fill-up etc...
Ankit Garg wrote:You can use normal HTML tags like <input type="text" /> in JSP pages when you use Struts. If you use the struts tags, you get certain advantages like validation messages, automatic form fill-up etc...
Thnx Ankit for replying me.. Yeah I agree with your answer.. but i have a small doubt.. whats the diffference between <form> and <html:form> ?? why cant we just use <form> instead of <html:form>? and why cant we use normally <input type="text"> instead of using <html:text> ??
waiting for quick reply..
Harishwar
Harishwar Madhya
Greenhorn
Joined: Sep 01, 2010
Posts: 14
posted
0
waiting for some replies..
subject: why cant we use normal html tags instead of struts html when using struts framework???