Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing dynamic values to an almost-static HTML

 
mitch bongco
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can someone show me an example or 2 where i can take servlet output, say a String variable holding a name, and pass this to a variable in a pre-created HTML form.
i know i can use sendRedirect to direct my servlet to an HTML page, but, i'm not sure how to pass a dynamic value to the page.
please help.
Thanks
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"almost-static" sounds similar to an old American joke, being "a little pregnant" Either she's pregnant or not, ha ha!
Why not make the HTML page a JSP with all the dynamic goodies accompanying such decision?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic