• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

how do I submit without a submit button textarea contents

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<form method="post" action="save.jsp" target="exright_frame">
<textarea name="area" rows=24 cols=75>
class collapse_condition : public singleton_rule {
const_param<int> n, num_iteration ;
param<bool> simulation_finished ;
</textarea>
<input type="reset" name="reset" value= " Reset " >
<input name = "rule" type = "hidden" value = <%= ruleType %> >
<input type="submit" name="save" value="Save" >
</form>
how do i get the contents of the above textarea into another jsp file...with out a submit button... however, i can submit the other input text using save button....does this mean that i get the contents of the textarea to the other jsp file as the form is submitted.....
what do i need to write..
 
Author
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the textarea is part of a form that has been submitted (which it is in this case) then its contents will be avaliable to the JSP file that you submitted to in the normal way (request.getParameter(parameterName) etc)
Rgds
Sam
 
reply
    Bookmark Topic Watch Topic
  • New Topic