*
The moose likes Servlets and the fly likes Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets " Watch "Servlets " New topic
Author

Servlets

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Aug 06, 2000
Posts: 60
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


I.K.VISHWANATH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets
 
Similar Threads
Problems with Netscape and Servlets
Need urgent Help - Browser is hanging
JSP Not able to Identify the JS, CSS file path
Javascript functions not found on Resize in Netscape
exception and error while importingwar in websphere applicationserver6