This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I got a problem in jsp and I desperately need help.
There is an Applet in my jsp page and applet is using a class name clientInfo.java. My beans also use this class as well. So I have put this class in Web_inf folder and with applet as well so clientInfo.java is available in 2 locations.
Most of the time my application work fines but something it give me an error in jsp, class not found error with processClient.java. But that class is available in Web_inf/lib folder. What I have seen that sometime jsp look applet folder for classes instead of web_inf /lib folder. As processClient.java is not available in applet folder so and error is generated. processClient.java has nothing to do with Applet. But when I put that class in applet folder my page work fine again. But I donot want to put that class in Applet folder as applet donot need that file.
We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Yes u r rite i m doing like this. I have kept copy of the class in both places. But the problem is that sometimes application look towards client side (Applet site) for perticular class instead of server side (WEB_INF/lib). As that class is not available over there so it through an exception classNotFound.