Hello!

I'm tryed to set property of my bean by <c:set> tag. But the exception was
thrown. Am I doing something wrong
or is it a bug in tag? I'm runing JRun 4.0 and Beta 2 JSTL.

<c:set target="${cart}" property="currentProduct" value="${i.key}"/>

Value is not null and it's looks like number. it's output succesfully.

Beans method is simple:

 public void setCurrentProduct(int currentProduct) {
    this.currentProduct = currentProduct;
  }

java.lang.IllegalArgumentException
 at sun.reflect.GeneratedMethodAccessor574.invoke(Unknown Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(SetSupport.j
ava:170)
 at jrun__order__cart2ejspf._jspService(jrun__order__cart2ejspf.java:283)
 at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
 at jrun.jsp.JSPServlet.service(JSPServlet.java:106)
 at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
 at jrun.servlet.filters.TimingFilter.doFilter(TimingFilter.java:65)
 at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
 at jrun.servlet.FilterChain.service(FilterChain.java:101)
 at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
 at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
 at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
 at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
 at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
 at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
 at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
 at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Best regards,
Roman Kapshevich
ICQ 2032093


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to