aspose file tools
The moose likes JSP and the fly likes JSP n javascript problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP n javascript problem" Watch "JSP n javascript problem" New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP n javascript problem
 
Similar Threads
Runtime Html Menu in Jsp Page
retriving an array in javascript
Problem with dynamically generated menu.
JSP within java script
Conditionally Handling Dynamic Content