Results 1 to 3 of 3
  1. #1
    Dayanand is offline Member
    Join Date
    Feb 2011
    Rep Power

    Default struts-blank.war

    when i import struts-blank.war file from jakarata-struts-1.1, i am getting an error in validation.xml,
    which is there in WEB-INF folder, can any one help out


    <?xml version="1.0" encoding="ISO-8859-1" ?>

    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"


    This is a blank Validator form file with a commented examples.


    <!-- An example global constant
    end example-->


    <!-- An example form
    <form name="logonForm">
    <arg0 key="logonForm.username"/>
    <arg0 key="logonForm.password"/>
    end example form -->


    <!-- An example formset for another locale
    <formset language="fr">



    in the above bold line(fromset) i got the error stating that:-the content element type “formset” is incomplete,it must match “(constant *,form+)”

    what the mistake i have done.?

    thanks in advance
    Last edited by Dayanand; 06-20-2011 at 09:14 AM.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    Your formset is empty.
    It either needs at least one <constant> tag (as the second example) or <form> tag.
    I doubt the struts-blank was intended to be deployed, but was intended as a skeleton to build on.

  3. #3
    eedanna is offline Member
    Join Date
    Feb 2009
    Rep Power


    Hey Deyanand,

    Just go through the below link, hope this will helps you to resolve your issue.

    Struts Validator Framework Example

Similar Threads

  1. Sql insert into blank character
    By robyf1 in forum New To Java
    Replies: 16
    Last Post: 06-03-2011, 09:29 PM
  2. Blank screen
    By dewitrydan in forum New To Java
    Replies: 14
    Last Post: 08-12-2010, 05:19 PM
  3. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  4. Blank space
    By sandy1028 in forum New To Java
    Replies: 1
    Last Post: 04-21-2009, 10:00 AM
  5. Print a blank space
    By susan in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 01:58 PM

Posting Permissions

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