The Artima Developer Community
Sponsored Link

Java Answers Forum
struts-html 'n normal HTML

2 replies on 1 page. Most recent reply: Sep 26, 2003 11:08 PM by Senthoorkumaran Punniamoorthy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Leela

Posts: 16
Nickname: leee
Registered: Sep, 2003

struts-html 'n normal HTML Posted: Sep 26, 2003 5:54 AM
Reply to this message Reply
Advertisement
Hello,
I would like to know the difference between HTML's <form> tag and struts-html's <html:form> tag.

Actually, i understood the use of struts-beans and struts-logic tags........because of its additional functionality than normal HTML........but, since the struts-html form tag boils down finally to a normal HTML form tag at runtime, how does it add additional functionality like scope, etc .......???


Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: struts-html 'n normal HTML Posted: Sep 26, 2003 11:03 PM
Reply to this message Reply
it is a requirememnt that all your html text boxes, combo boxes and all the components user enters the data are nested inside the html:form tag. Then only when you submit them it will automatically populate the form bean. Thats one of the functionality I guess...

Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: struts-html 'n normal HTML Posted: Sep 26, 2003 11:08 PM
Reply to this message Reply
also read up the form tag refference here.

http://jakarta.apache.org/struts/userGuide/struts-html.html#form

The "action" property of the tag also specifys which strutsction to invoke when the form is submitted.

Flat View: This topic has 2 replies on 1 page
Topic: Handling double submit with out java script Previous Topic   Next Topic Topic: Pass by Reference/Value

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use