directory « Bean « JSP-Servlet Q&A





1. how to useBean for all directories?    coderanch.com

I have Tomcat 3.1 set up on a Windows2000 machine. Let's say I have two jsp pages... file A: "/test.jsp" file B: "/my_folder/test.jsp" ...both "test.jsp", files A and B, are identical. Both files contain: "" the folder "/WEB-INF/classes" contains myclass.class When I try my web browser on file A then everything works fine (thru the web server ...

2. How to create user's bean directory    coderanch.com

3. Setting up directory structure for Bean Component in JSP    coderanch.com

want to try out a simple JSP example that uses beans. The code is given below . What I don't understand is where do I have to put these files. I have configure Bean in Web.xml file .I guess the file I have really doubts about is StringBean.java which is the bean file. I tried putting all in C:\tomcat4\webapps\webdir\WEB-INF\classes but nothing ...