By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,779 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,779 IT Pros & Developers. It's quick & easy.

servlet question

P: 39
how to add java code inside the following servlet code
out.println(<input type="text" name="x" value="?">);
here in value i want add some value whaich is come in run time.
can any one tel how to add plz
Dec 29 '06 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
how to add java code inside the following servlet code
out.println(<input type="text" name="x" value="?">);
here in value i want add some value whaich is come in run time.
can any one tel how to add plz
Here out is the response PrintWriter right?
If so then did you try
Expand|Select|Wrap|Line Numbers
  1.  String variableValue = ""; 
  2. out.println("<input type=\"text\" name=\"x\" value="+variableValue+">");
  3.  
Dec 29 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.