• Post Reply Bookmark Topic Watch Topic
  • New Topic

Having trouble with the function in jsp??

 
rejieve alexander
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to call a function in a jsp thro' a button onClick event.. but the out.println inside the function throws me an exception(undefined variable or class name) ..plz help.. and also , if put a setAttribute in my
function, how do i get that attribute in my servlet,after which i've already done an RquestDispatcher.include before.. my code is

[ Editted by Dave to format code ]
[This message has been edited by David O'Meara (edited November 06, 2001).]
[This message has been edited by rejieve alexander (edited November 06, 2001).]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of small JSP errors in your page, so I'm passing your post over to that forum so they can fix it for you.

Dave
 
rejieve alexander
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David,
But it was just a part of the code which i'd pasted...my jsp is working properly..it's just that , i'd like to know how to call a jsp function on an onClick event ,'cause i'm not able to do so in the code mentioned above...and also is it possible to put a setAttribute inside the function prntFdback().
Thanks..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!