Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do I submit without a submit button textarea contents

 
Amithkumar Kota
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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..
 
Sam Dalton
Author
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic