cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Nanda" <rahul_na...@hotmail.com>
Subject 'request' command giving errors in XSP
Date Thu, 01 Jan 1970 00:00:00 GMT
Hi All !

I am having this strange problem with my XSP pages.
All samples and examples of XSPs are working which indicates that the Cocoon 
configuration for XSP is working fine.

But,

Only when I use the 'request.getParameterValues' command for reading data 
from forms, it gives the following error:

********************

java.lang.Exception: XSP Java Compiler: Compilation failed for 
_form1_xsp.java
29: Undefined variable or class name: request

      String[] name = request.getParameterValues("name");

                      ^

1 error



	at 
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:146)
	at 
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:522)
	at org.apache.cocoon.Engine.handle(Engine.java:384)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at 
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
	at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

********************

Please help.

Rahul Nanda

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message