I am facing very strange problem in my JSP. in my JSP i want to execute certain Javascript code and then suppose i want to use forword tag. but actually instead of executing the Javascript code it is redirecting the control to another page. is there any solution for this problem? -Revati
Ramneek Handa
Ranch Hand
Joined: Nov 10, 2000
Posts: 44
posted
0
Hi Revati java script will run on client side and forword will work on server side. you can not run javascript at server side.
Vimal Gandhi
Greenhorn
Joined: Nov 29, 2000
Posts: 9
posted
0
Ya thats true that javascript work on client & forward work on server side, but you can varify your code with javascript on client side with onclick event on any button if it is there else on any link. ok try on it