Hello,
i am using a user-defined Date type for FormBeans. So i can change the
Display-Format (in MyDate.toString())
But now i get an error message (see below). Must i change the
constructor to accept the new Format?
thanks,
Andreas
HTTP ERROR: 500 BeanUtils.populate
INFO: Processing a 'POST' for path '/a_dv_07_03_bildungsgang_aendern'
13:11:58.213 WARN!! Exception for
/webapp/dv/a_dv_07_03_bildungsgang_aendern.do
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1650)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1545)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1574)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:919
)
at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:726)
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:978)
at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
essor.java:779)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:246)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:129
2)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:292)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
77)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1682)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:544)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1632)
at org.mortbay.http.HttpServer.service(HttpServer.java:875)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
at
org.mortbay.http.SocketChannelListener.handle(SocketChannelListener.j
ava:284)
at
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
at java.lang.Thread.run(Thread.java:536)
--
Dipl. Ing. (BA) Andreas Langmann
Software Developer
ISB AG
Karlstr. 52-54
76133 Karlsruhe
Telefon: +49 (0)721/82800-0
Telefax: +49 (0)721/82800-82
Email: [EMAIL PROTECTED]
Internet: http://www.isb-ag.de
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>