cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niket Anand" <niketan...@npi.stpn.soft.net>
Subject Re: Fw: <input type="image" src="images/submit.gif" name="cocoon-action" value="Submit">
Date Wed, 27 Feb 2002 04:23:41 GMT
Hello All,
Has anybody tried to perform action with following input type
<input type="image" src="images/submit.gif" name="cocoon-action-Add
Department" value="Add Department">
I have tried on cocoon2.0.2 dev, but it doesnot work and give following
error.
Please help me out of this problem if anybody has tried under same
condition.

> Cocoon 2 - Internal server error
>
> --------------------------------------------------------------------------
--
> ----
>
> type fatal
>
> message String index out of range: -16
>
> description java.lang.StringIndexOutOfBoundsException: String index out of
> range: -16
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> stack-trace
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: -16
> at java.lang.String.substring(String.java:1525)
> at
>
org.apache.cocoon.environment.http.HttpEnvironment.extractAction(HttpEnviron
> ment.java:139)
> at
>
org.apache.cocoon.environment.http.HttpEnvironment.(HttpEnvironment.java:106
> )
> at
>
org.apache.cocoon.servlet.CocoonServlet.getEnvironment(CocoonServlet.java:10
> 92)
> at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:954)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:201)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :163)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1011)
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
> )
> at java.lang.Thread.run(Thread.java:484)
>
>
> request-uri
>
> /cocoon2.0.2/tutorial/results-dept.html
>
> path-info
>
> tutorial/results-dept.html
>
>
> --------------------------------------------------------------------------
--
> ----

----- Original Message -----
From: "Torsten Curdt" <tcurdt@dff.st>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, February 26, 2002 6:13 PM
Subject: Re: Fw: <input type="image" src="images/submit.gif"
name="cocoon-action" value="Submit">


> > Thanks Torsten,
> > I hope this time you can help me out of this problem.
>
> ...go for it :)
> --
> Torsten
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message