Results 1 to 5 of 5
  1. #1
    anandguna is offline Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    0

    Thumbs down Java Script comes with No proper error message in the Alert box in Struts.

    Hi

    I have configured validation.xml, validation-rule.xml and plugin in Struts-config.xml

    The key and value for error message created in the messageresource.properties file. I can able to view the property value in JSP.

    But using Struts validate=true in struts config. and all <html:javascript> and <html:errors/> are too configured.

    I getting the alert box, no message properties value not shown in the box.

    Please guide me.
    anand.g
    anand_gu@hotmail.com

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,390
    Rep Power
    25

    Default

    You'l probably get more/better answers if you ask on an HTML or Javascript forum.

  3. #3
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default

    Instead of using validation.xml why don't write your own validation classes which will populate the Action Errors objects. Showing validation in javascript is not recommended by most users.
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

  4. #4
    navinkumar is offline Member
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    0

    Default Hello Everybody

    Hello Everybody

  5. #5
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default

    Hey don't spam
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

Similar Threads

  1. Java Loader error message "UNC paths not supported"
    By Johnny562 in forum New To Java
    Replies: 1
    Last Post: 07-01-2008, 10:24 PM
  2. Can't solve error message while looping
    By BHCluster in forum New To Java
    Replies: 15
    Last Post: 04-22-2008, 10:51 AM
  3. Will struts work for parameterized message in internationlization
    By felixtfelix in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 04-04-2008, 01:32 PM
  4. java error message
    By baileyr in forum New To Java
    Replies: 2
    Last Post: 01-23-2008, 03:47 AM
  5. error message on jsp
    By sandor in forum Web Frameworks
    Replies: 1
    Last Post: 04-11-2007, 02:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •