The directory is cocoon/build/webapp/WEB-INF/lib However i get the error \"Send cannot be resolved or is not a type\" Send s = new Send(); Also the following error is seen when trying to call another method from a method in XSP. The xsp is like this.. <xsp:page.... ..... <xsp:structure> <xsp:include>.....</xsp:include> .... </xsp:structure> <xsp:logic> public String method1() { content = method2(....); } </xsp:logic> <xsp:logic> public String method2(....) { ........ ........ } </xsp:logic> </xsp:page> The error seen is \"The method method2(BodyPart, int) is undefined for the type reader_xsp\" content = method2(mp.getBodyPart(partNum),partNum); Should anything else be included for these 2 to work? Quoting [EMAIL PROTECTED]: > Hi, > > Jones A wrote: > > > I have a jar file \"test.jar\" which i have placed in the WEB-INF/ lib > directory. > > > > The jar contains a class com/test/mail/send.class > > > > How can this class be used in xsp? > > > <xsp:page language=\"java\" xmlns:xsp=\"http://apache.org/xsp\"> > <xsp:structure> > <xsp:include>com.test.mail.send</xsp:include> > </xsp:structure> > ... > > > Is it necessary to include the name of the jar file in the xsp ? > > > no if you meant cocoon/WEB-INF/lib. > > > > > > > > > > > [Image] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Reply via email to