You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Syed Niaz <ni...@rediffmail.com> on 2002/01/24 22:00:17 UTC

Instantiating a Java Class

Hi

Iam a novice to Struts and need your help .

My jsp is this

-----------------------------------------------------
<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/app.tld"    prefix="app" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%
tr xyz = new tr() ;
%>
-----------------------------------------------------

When executed ,
javax.servlet.ServletException: org/apache/jsp/tr
Root cause : java.lang.NoClassDefFoundError: org/apache/jsp/tr

I have included org/apache/jsp/tr at almost every level of folders .

Any idea why this occurs .
Where is it actually expecting the tr.class file to be ?

Thanks

Syed 

 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>