Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on a project in servlets. i have to generate a html with just buttons with the help of a servlet and welcome the user to the site in it. If we select the button that is generated with the help of servlet then it should redirect to another html.
I tried out with the help of javascript in the html that i am generating with the servlet but the javascript is not working.
If any of you have servlets with javascript embeded can u please post it or mail it to me, so that it will be of great help to me. If any another alternative is also there for this problem, i would like to know abt it.
Thanks,
Raj
rjgopalr@hotmail.com
 
KASI VISHWANATH
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can do it with javascript itself rather than servlets. only this is u have to give is location.href or location.replace with the site name using an onclick function 4 each button
------------------
I.K.VISHWANATH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic