bublathejuggla
Technical User
Hi All.
i am having a problem getting the server i am using (Brunhilde) to recognise where my javabeans are, resulting in an error due to it looking in the wrong place.
My JSPs are in the Tomcat directory and my javabeans are in the directory /tomcat/WEB-INF/classes/project1/
i have been advised to keep the javabeans as part of a package (called project1 in this case) and that the directory the javabeans go in must have the same name as the package.
The tag i am using to call the javabeans is:
<jsp:useBean id="mp3convert" class="project1.Mp3Encoder" scope="page"/>
The problem is, the server running under another directory ( /usr/jakarta-tomcat or something along these lines) is searching for the javabean files relative to itself rather than my user tomcat folder. how do i get it to refer to the files in my web directory rather than searching for a file elsewhere that doesnt exist?
please help
i am having a problem getting the server i am using (Brunhilde) to recognise where my javabeans are, resulting in an error due to it looking in the wrong place.
My JSPs are in the Tomcat directory and my javabeans are in the directory /tomcat/WEB-INF/classes/project1/
i have been advised to keep the javabeans as part of a package (called project1 in this case) and that the directory the javabeans go in must have the same name as the package.
The tag i am using to call the javabeans is:
<jsp:useBean id="mp3convert" class="project1.Mp3Encoder" scope="page"/>
The problem is, the server running under another directory ( /usr/jakarta-tomcat or something along these lines) is searching for the javabean files relative to itself rather than my user tomcat folder. how do i get it to refer to the files in my web directory rather than searching for a file elsewhere that doesnt exist?
please help