Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3841

Struts 2 losing timestamp in java.util.Date when validation failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.3.3
    • 2.3.12
    • Core Interceptors
    • None
    • jdk 1.6, windows

    Description

      A full example based on struts2 blank archetype attached.
      Run with maven2: mvn jetty:run
      Url: http://localhost:8080/struts-test/example/Login

      Enter as year of birth a bad integer: 1980aaa
      You'll see the timestamp still there, BUT the milliseconds are set to zero.

      Attachments

        1. struts-test_6.zip
          17 kB
          J. Garcia

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              jogaco J. Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: