| Author |
JSP n javascript problem
|
michael yue
Ranch Hand
Joined: Nov 20, 2003
Posts: 204
|
|
Hi I am doing a tree menu for my page using javascript. I got the script from the net. The problem is the link for menu is generated in javascript. While I need to use JSP to determine whether to display a link or not. Can I in anyway use a figure from JSP n make the javascript know the figure n in the end determine whether to display the link. Hope I m not confusing.
|
 |
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
|
As I'm sure you know, JSP is a server-side scripting language, while JavaScript is a client-side scripting language. Therefore, it makes sense that you could use JSP to generate a JavaScript section of code. Knock that around for a while in your head and see if you can make something of it.
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
 |
|
|
subject: JSP n javascript problem
|
|
|