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..
.....
....
public String method1()
{
content = method2(....);
}
public String method2(....)
{
........
........
}
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?
> >
>
>
> com.test.mail.send
>
> ...
>
> > 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]
>
>