• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

java.lang.IllegalArgumentException  RSS feed

 
Ranch Hand
Posts: 104
Eclipse IDE jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers !

I am getting an error with Date in Action Form. I am using Struts 1.3.8 framework. In my Action Form there is a property called Date and getters and setters are generated for it. When i try to call the request.getParameter of Date an error of java.lang.IllegalArgumentException is thrown. Is there any problem in retrieving date as request.getParameter is for retrieving string

 
Greenhorn
Posts: 10
Chrome Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you use request.getParameter to access the information provided by the user in the html page.
try .getDate method.
 
It's just a flesh wound! Or a tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!