Setting text field values in Java on JSP page

Reply

Join Date: Dec 2007
Posts: 65
Reputation: CodeBoy101 is an unknown quantity at this point 
Solved Threads: 0
CodeBoy101's Avatar
CodeBoy101 CodeBoy101 is offline Offline
Junior Poster in Training

Setting text field values in Java on JSP page

 
0
  #1
Jun 20th, 2009
Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 1
Reputation: kaushalpurohit is an unknown quantity at this point 
Solved Threads: 0
kaushalpurohit kaushalpurohit is offline Offline
Newbie Poster

Re: Setting text field values in Java on JSP page

 
0
  #2
Jun 20th, 2009
Originally Posted by CodeBoy101 View Post
Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.

set the values by using <%=%>
ex.<input type="text" name="abc" value="<%=urValue%>" />
note that urvValue is the name of the variable storing the value you want to set in the text field..
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,621
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 470
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: Setting text field values in Java on JSP page

 
0
  #3
Jun 21st, 2009
Use cookies,session, database state.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC