Search code examples
javahtmljspatg

Pass Input value to java file in ATG


I'm new for atg and I have input field in my .jsp file as below..

    <input type="email"  id="email" placeholder="Your Email" class="form-control">

I want to pass value in this field, to my java file. I don't know hoe to do that. Can anyone help me please.


Solution

  • if you want to set a field in a FormHandler, you should use dsp tag library dsp:input and it should be inside of form tag dsp:form. In that way you'll have fields populated by atg on form submission.