you can populate the values in javascript from jsp.

just like this...

<%
    //get the values from db

    String s = "Hello";
%>

then populate the values in Javascript...
<script language="javascript">

var s1= <%=s%>;

</script>

Thamks
prem

[EMAIL PROTECTED] wrote:

> HI all,
>
> I'm trying to implement dynamic Tree Menu(The kind of structure in
> windows explorer) in our web project. Our Clent server application has
> the tree menu implemented in Delphi. And i want to implement the same in
> JSP. I have to get strings from database and also create links on the
> fly so that i can display data pertaining to that link in the frame.
>
> Right now i'm using a Javascript Tree menu but it is static and i can't
> get values from database on the fly to display.
>
>
>
> Can someone help me out with this. I'm sure many have already dealth
> with the same situation of implementing dynamic tree menus in web
> applications.
>
> Hope i made my question clear.
>
> Thanks in advance
>
> Praveen
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to