You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Pierfranco Ferronato <io...@pierfranco.com> on 2002/05/16 10:47:24 UTC
calling a servlet (?)
Hi all,
I'm really new to cocoon
I'm trying something I think it is preatty easy: calling a servlet with some parameters
<map:match pattern="">
<map:generate type="html" src="http://localhost:8088/pino/servlet/fetish.reposimpl.HTTPFTRepository?action=all" />
<map:transform src="xsl/DBALL_HTML.xslt">
<map:parameter name="wsite" value="http://localhost"/>
</map:transform>
<map:serialize type="html"/>
</map:match>
It does not work, I got a
org.apache.cocoon.ProcessingException: Exception in HTMLGenerator.generate(): java.lang.NullPointerException
(cocoon 2.0.2 + Tomcat 3.3 + SUN JDK1.3)
It seems that the http generator process "only" URL
Any suggestion or help is really appreciated
Pieffe
--- Signature ---
PF
@-mail: io@pierfranco.com
Virtual Sky: IVAO, ID 112917
SimFlight: FS2000, X-Plane
Home page: http://www.pierfranco.com
USA Fax: (419) 791-6621
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: calling a servlet (?)
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Pierfranco Ferronato [mailto:io@pierfranco.com]
>
> Hi all,
>
> I'm really new to cocoon
> I'm trying something I think it is preatty easy: calling a servlet
with some
> parameters
>
> <map:match pattern="">
> <map:generate type="html"
>
src="http://localhost:8088/pino/servlet/fetish.reposimpl.HTTPFTRepositor
y?acti
> on=all" />
> <map:transform src="xsl/DBALL_HTML.xslt">
> <map:parameter name="wsite" value="http://localhost"/>
> </map:transform>
> <map:serialize type="html"/>
> </map:match>
>
> It does not work, I got a
> org.apache.cocoon.ProcessingException: Exception in
HTMLGenerator.generate():
> java.lang.NullPointerException
> (cocoon 2.0.2 + Tomcat 3.3 + SUN JDK1.3)
>
> It seems that the http generator process "only" URL
>
> Any suggestion or help is really appreciated
Looks like bug in the HTMLGenerator. Suggestions:
1. Try Cocoon 2.0.3 from the CVS
2. Look into HTMLGenerator
3. Nothing helps, try asking mail list but please do not cut exception
stacktrace - now it is not even known what was the line number.
Vadim
> Pieffe
>
>
>
> --- Signature ---
> PF
> @-mail: io@pierfranco.com
> Virtual Sky: IVAO, ID 112917
> SimFlight: FS2000, X-Plane
> Home page: http://www.pierfranco.com
> USA Fax: (419) 791-6621
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>