You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robin Green <gr...@hotmail.com> on 2000/09/22 02:23:25 UTC
Re: getParameter() issue
Jose.Carlos@iint.com wrote:
>We know from basic HTML and servlets that if we do not have a particular
>field
>(say a
>text field) present in the HTML page and we issue an
>HttpServletRequest.getParameter("fieldname")
>in the servlet on that page, this method should return a Java null.
>
>However, I notice that when using Cocoon, the getParameter() method in such
>a
>scenario
>would return a java String literal value of "null" instead of the Java
>null.
Can we have a reproducable test case please. Sounds like you are mistaken.
Remember null gets converted to "null" if you do a string conversion or
something like that.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Help w/ Apache and Tomcat serving Cocoon pages
Posted by "Brett G. Palmer" <bp...@uswest.net>.
Here is another Apache/Tomcat question for Cocoon.
I have Apache and Tomcat configured to correctly serve JSP pages. For
example Apache will pass the URL: http:<my_server>/examples/jsp/some.jsp to
Tomcat for processing. I would like Apache to pass *.xml references to
Cocoon via Tomcat, but I can't get this to work.
My Tomcat/Cocoon configuration workw correctly. For example
http:<my_server>:8080/samples/index.xml is correctly processed by Cocoon.
In summary, I want to be able to handle all *.xml files without having to
refer to the Tomcat port. Any suggestions on how to get this to work would
be appreciated.
Thanks in advance,
Brett