hai friends..
i'm trying to connect to the database using jdbc-odbc bridge..that worked fine when i wrtie the code in a .java file and run it at the command prompt..but when i called that
java file as a bean in the
jsp ..i'm getting an error...package does not exist.
i've my .class file placed in
C:\Program Files\Apache Group\Tomcat\webapps\myfirstapp\WEB-INF\classes\test\userdata.class
where
test is the name of the package.
my .jsp file placed in
C:\Program Files\Apache Group\Tomcat\webapps\myfirstapp\
From my .jsp file I tried to call the bean:
<jsp:useBean id="emp" scope="page" class="test.userdata" />
please help me where i'm doing an error...do i need to set any CLASSPATH for running this JSP
thanks in advance
--sumana