• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To get input from the user and display it in the same page

 
Nandhini K Ami
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am new to java script.I wanted to get input from the user(int,string,array of string or anything like that) and to display it in the same page just like a guest book.But they say i need to create a cgi directory through which only i can create it.I have created a HTML file as below




I created a servlet named "guestbook1" and passed the value to that program as below



from this program i call the jsp program to display the text the user has entered.



I am a begineer to java script so forgive me if there is any mistake in these program and can you please help me
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Please read CarefullyChooseOneForum. There is already a forum HTML, CSS and JavaScript for these questions.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And this post is now in that forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic