Hello! I'm having problems trying to run servlets under cocoon. Error message on browser: ------------------------ Cocoon 2 - Internal server error java.lang.RuntimeException: servlet/maeff could not be found. (possible context problem) at org.apache.cocoon.components.url.ContextURLFactory.getURL(ContextURLFactory.java:98) at org.apache.cocoon.components.url.URLFactoryImpl.getURL(URLFactoryImpl.java:116) at org.apache.cocoon.components.source.SourceHandlerImpl.getSource(SourceHandlerImpl.java:181) ......
In the web.xml configuration file, I added the following lines: --------------------------------------------------------------- ... <servlet> <servlet-name>maeFilterForm</servlet-name> <description>un servlet sencillo</description> <servlet-class>useOfTrax.MaeFilterFormServlet</servlet-class> <load-on-startup>5</load-on-startup> </servlet> <servlet-mapping> <servlet-name>maeFilterForm</servlet-name> <url-pattern>/servlet/maeff</url-pattern> </servlet-mapping> ... In the sitemap, inside pipeline: ------------------------------- ... <map:match pattern="maeff"> <map:read mime-type="text/html" src="context://servlet/maeff" /> </map:match> ... The URL: ------- http://<host>:<port>/MaeQueryPrototype/maeff (MaeQueryPrototype is the project) What Am I doing wrong? Thanks in advance. -- Mauro -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>