H'llo everybody,
I have deployed a web-application on my tomcat server, under the webapps
directory. This is the structure of my web-application
webapps <DIR>
ITSReg <DIR> // My web application
META-INF <DIR>
WEB-INF <DIR>
web.xml
lib <DIR>
classes <DIR>
dynaPage <DIR>
PageDOMParser.class
views <DIR>
reg_view.jsp
I have configured web.xml to take reg_view.jsp as the initial page. My
problem is that the JSP (reg_view.jsp) cannot access the
dynaPage.PageDOMParser class from within its jspInit() method. I have
imported the package in the JSP and (as per Tomcat docs) I have placed the
dynaPage package within WEB-INF\classes.
Could anybody point out where the problem might be ?
I even tried placing the package in the WEB-INF\lib , Tomcat's default lib
etc .. but I get the same "Class dynaPage.PageDOMParser not found"
JasperException while it tries to compile the JSP.
----------------------------------------------------------------------------
---------------------------------------
org.apache.jasper.JasperException: Unable to compile class for
JSPE:\JBoss-2.2.2_Tomcat-3.2.2\tomcat\work\localhost_8080%2FITSReg\WEB_0002d
INF_0002fviews_0002freg_0005fview_0002ejspreg_0005fview_jsp_0.java:26: Class
dynaPage.PageDomParser not found.
dynaPage.PageDomParser parser = new
dynaPage.PageDomParser(new
File("E:/JBoss-2.2.2_Tomcat-3.2.2/tomcat/webapps/ITSReg/WEB-INF/src/DynPageX
ML.xml"));
----------------------------------------------------------------------------
---------------------------------------
regards
Pramod Nair
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html