Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old November 12th, 2000, 12:38 AM
k_s_ashok k_s_ashok is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: chennai, tamil nadu, INDIA
Posts: 27 k_s_ashok User rank is Private First Class (20 - 50 Reputation Level)k_s_ashok User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how can i transfer the particular form's textbox value to another form's textbox thru servlet coding ?

Comments on this post
JimmyGosling agrees!

Reply With Quote
  #2  
Old November 16th, 2000, 10:20 AM
benabb benabb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 15 benabb User rank is Private First Class (20 - 50 Reputation Level)benabb User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you want to treat it as you would if sending to a confirmation type page and simply send it back to another textbox...

something like:-

Applet #1:

out.println("<html>");
out.println("<head>");
out.println("</head>");
out.println("<body>");
out.println("<form action="http://www.yoursite/blah/newform#2" method="GET">");
out.println(" <div align="center"><center><table border="0">");
out.println(" <tr>");
out.println(" <td><p align="center">Please write your description in box below.</p></td>");
out.println(" </tr>");
out.println(" <tr>");
out.println(" <td><textarea name="description" rows="4" cols="52"></textarea></td>");
out.println(" </tr>");
out.println(" </table>");
out.println(" </center></div>");
out.println("</form>");
out.println("</body>");
out.println("</html>");


Applet #2:

out.println("<html>");
out.println("<head>");
out.println("</head>");
out.println("<body>");
out.println("<form action="http://www.yoursite/blah/newform#3" method="GET">");
out.println("<tr valign="top"> <td><strong>Your description, would you like to edit it?:</strong></td> <td valign="top" width="250"><textarea name="edit" rows="4" cols="52">" + description + "</textarea></td> </tr>");
out.println("</form>");
out.println("</body>");
out.println("</html>");

Applet #3

and so on........

that's how I would do it anyway..

cheers
Comments on this post
JimmyGosling agrees!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > java servlets


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway