• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HELP ME

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The thing is that I want a variable of String or integer type
to inserted into a html page.
I don't want the html code to be written in the servlets.
It should be like this
if user registers with us. So the user can see the message that he has
been registered and his user name and password is so so.
And this message has to be appear in the premade html page.
So what should I do?
What code should i write in servlet
and what in HTML to fetch that value.
HELP ME!
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Raman: Please Read this
http://www.javaranch.com/ubb/Forum10/HTML/000180.html
before expecting any replies
Thanks!
[This message has been edited by Tony Alicea (edited February 03, 2001).]
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think you can retreive a server side variable information from a pure html page. But on the other hand you can acheive this if you make your html a jsp page. All you need is a jsp compliant container like tomcat. If you are cool with jsp i can help you out.
Any other suggestions guys

Ajan

[This message has been edited by Ajan Balakrishnan (edited February 04, 2001).]
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nice name, "Raman" Descriptive subject, too and as to your question, well, I can't say I really understand it do you want to write a servlet or not?
A browse through a good servlet tutorial might clarify things. And of course the article Tony referred to.
- Peter
[This message has been edited by Peter den Haan (edited February 04, 2001).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic