Greetings, i'm currently using velocity in my projects and i getting ahead some where.
Currently, i'm able to access the class files in WEB-INF/classes. However when i create these sub directories in the WEB-INF, eg: WEB-INF/classes/com/data/dataObj, velocity cannot access my class file. What can i do to allow velocity to access the classes? My class file resides in /WEB-INF/classes/com/data/dataObj/ My class file is velocityTest.class The servlet tag i put was :<servlet-class>com.data.dataObj.velocityTest</servlet-class> Please guide me what can i do thanks My web xml file: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: <?xml version = '1.0' encoding = 'windows-1252'?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"> <description>Empty web.xml file for Web Application</description> <welcome-file-list> <welcome-file> index.jsp </welcome-file> </welcome-file-list> <session-config> <session-timeout>35</session-timeout> </session-config> <mime-mapping> <extension>html</extension> <mime-type>text/html</mime-type> </mime-mapping> <mime-mapping> <extension>txt</extension> <mime-type>text/plain</mime-type> </mime-mapping> <servlet> servlet-name>VelocityTest</servlet-name> <servlet-class>com.data.dataObj.velocityTest</servlet-class> </servlet> <servlet-mapping> <servlet-name>VelocityTest</servlet-name> <url-pattern>/VelocityTest</url-pattern> </servlet-mapping> </web-app> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
