This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi I am using javawebserver. while using <jsp:useBean> tag i get cannot find class error. What is the codebase for javawebserver? while gone through the previous reponses in javaranch i found it is 'web/inf' but in javawebserver i am not having that 'web/inf'. please help me.
This will probably be solved by putting your bean class in a package and putting the class file in the correct place under WEB-INF/classes (etc. for the package) for your web application. (NOT web/inf) Be sure to import the package and give the full package.class name in the useBean tag. Bill
Joined: Jan 19, 2004
No 'web/inf' is found in 'javawebserver2.0' If i have the package stored in 'd:\java\bin\package1' and the 'jsp' in c:\jspfile.jsp, then where i have to place the class file and what is the class path? <jsp:useBean id="a"class="???" ..../>
I am using javawebserver may i ask why? Sun Microsystem hasn't released any new version of javawebserver for last many years. Which makes it obsolete, as it will not provide the functionality added in last 2-3 years. And if i remember correctly you can no longer download it from Sun's site as they discourage you to use it. i will strongly recommend you to switch to some other server. May be Jakarta's Tomcat(it's opensource). Below is the quote from Sun's web site: http://wwws.sun.com/software/jwebserver/
In late 1999, Sun announced that Java Web Server 2.0 was the last planned release of Java Web Server. On February 7th 2001, Sun announced the End Of Life (EOL) of Java Web Server.
[ February 28, 2004: Message edited by: Prakash Dwivedi ]
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"