> From: Ehms, JØrgen [mailto:[EMAIL PROTECTED]] > > Hallo > > I also like to use sendmail in my XSP but if I put only in my Head > > <xsp:page language="java" > xmlns:xsp="http://apache.org/xsp" > xmlns:esql="http://apache.org/cocoon/SQL/v2" > xmlns:xsp-session="http://apache.org/xsp/session/2.0" > xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0"> > > I got always the error: > > reference to Session is ambiguous, both class javax.mail.Session in package > javax.mail and interface org.apache.cocoon.environment.Session in package > org.apache.cocoon.environment > > XSP-Gererator automaticly generates: > > /** > * Generate XML data. > */ > public void generate() throws SAXException, IOException, > ProcessingException { > > > Session session = request.getSession(true); > > and not > > org.apache.cocoon.environment.Session session = > request.getSession(true); > > > > How can I resolve this Problem in this Packages.
This seems like a bug in the sendmail logicsheet. Change sendmail logicsheet so it does not imports JavaMail session, but uses fully qualified name. PS You could send a patch when/if you fix Vadim > > regards > > Juergen > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>