Ann, This is the fifth time in the past week that you have posted this exact same question. If you are not getting answers to your question, it may be because: no one knows the answer, it cannot be done, or you are not framing the question with enough information for anyone to try and help you. Repeated postings will not get you any better or faster answers. If you are not getting answers to your question, you should elaborate on what you are trying to do in the topic that you have already started. And, using 'urgent' in your subject rather than a meaningful phrase will usually get your topic ignored by some of the best answerers in these forums. It's seen as rude -- sort of like trying to push ahead in line at the grocery store. I'm not trying to be mean or anything, but you are not making effective use of these forums as a resource. hth, bear
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Is your servlet going to be stateless? Are you wanting one of those trees that's using the "+" and "-" stuff? Or, do you just want to show the whole tree? It would seem that if you want to use a specific product, you would want the assistance of those folks, unless it is such a popular product that lots of other people use it (like tomcat or jboss). Are you for sure using that product, or are you willing to try doing it from scratch? Are you familiar with servlets and html in general?
Hi Paul Wheaton, thanx for ur help...i want those trees to have "+" and "-". Actually, i want the tree to show a directory structure juz like the window explorer. i would like to use the product to do my program, but if there is other better product, i would use that. im quite new in servlets, im not so familiar with servlets yet.. Do u hav any idea on how to write trees in servlet?? thanx...
Joined: Jul 18, 2003
Hi, can anybody tell me how to know whether the user has click one of the nodes in the tree?? i'm writing in a servlet prog to write into a jsp file. thanx in advance...
Hi The program is what im currently doing. I write the program into a jsp file then i redirect it to the jsp file to display. Can anybody tell me how do i noe whether the user has click which node, and i need to display things that are related to the nodes that the user has juz click?? fos = new FileOutputStream("C:\\Tomcat 4.1\\webapps\\SDC1\\myfile.jsp"); // Connect print stream to the output stream p = new PrintStream(fos);
Ann, the taglibs can only be used in a JSP. If you write the taglib tags into the HTML document being sent to the browser, the browser will think "what the heck is this" and either display an error or simply ignore the unrecognized elements.
Hi Lasse Koskela, i know that the taglib can only be in jsp file. In this program, i write the tree structure into a jsp file called myfile.jsp. The servlet will run the program and write it into myfile.jsp, after writing it to the myfile.jsp, the servlet will call myfile.jsp to display the tree. the program does work but there is one problem, that is how do i noe whether the user has click which nodes??