Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8556005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:15:05+00:00 2026-06-11T15:15:05+00:00

I am using struts-jquery plugin 3.1.0 with struts v2.2.3. i have a date picker

  • 0

I am using struts-jquery plugin 3.1.0 with struts v2.2.3. i have a date picker in a jsp

    <td><sj:datepicker id="candidate.personalDetails.dateOfBirthItem"
        name="candidate.personalDetails.dateOfBirthItem" changeYear="true"
        yearRange="-100:-18" maxDate="-18" changeMonth="true" readonly="true" required="true"/><span style="color: #B7B7B7">mm/dd/yyyy</span>
    </td> 

which i am trying to validate. i have a following entry in the validation xml

<field name="candidate.personalDetails.dateOfBirthItem">
    <field-validator type="requiredstring">
        <message key="required.candidate.dateOfBirthItem"></message>
    </field-validator>

if submit page without providing value for the “candidate.personalDetails.dateOfBirthItem” no error message getting displayed, only form gets forwarded to entry specified in for “input” in the struts.xml. Validations messages for other non jquery fields are coming correctly. am i missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:15:05+00:00Added an answer on June 11, 2026 at 3:15 pm

    I had to use

    <field-validator type="required"> 
    

    instead of

    <field-validator type="requiredstring">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got the following jsp page and I'm using struts2-jquery-plugin-3.1.1 <script type=text/javascript> function openDialog()
I'm using the Struts2 jQuery plugin 2.1 and render an autocompleter in my JSP.
I am using Struts 2, JSP and JPA in my project. I have nearly
I'm using jQuery 1.6.4 in a jsp and I have a function that filters
I'm using the accordion in the struts jQuery plugin that has 3 accordion items
I have been trying to display json data in my jsp using struts and
I have started using struts .I have hanged in a place ,Code is bellow
I am using Struts Tiles with JSF to have one header, menu and footer
I am using Struts and Java. The problem is that I have a page
I am using Struts 1.2.7 and have the standard servlet mapping that uses *.do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.