Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
commons validator module on Weblogic 8.1? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • commons validator module on Weblogic 8.1?

    I use the spring module (commons validator) for validation. I use
    Spring 1.2.3. My application works fine on Tomcat 5.5.7.
    However, after I deployed it on Weblogic 8.1.2, I keep getting
    a javascript error message (Syntax error) and the client side validation
    is not functioning! The server-side validation still works.

    Did a lot of research, not progress. I am getting stuck here.
    Anybod has similar experience?

    Any help/info is greatly appreciated.


    When I saved the page on the hard drive, I found the validator.jsp
    file has html code in the beginning and end of the file. In the middle of it is
    Javascript code. How the hell could this happen?

    The following is the source I got from the browser.

    <form method="post" action="index.html"
    onsubmit="return validateEmailPage(this)">

    <span class="main">Your E-mail Address:</span>

    <input type="text" name="address" id="address" value="[email protected]"/>

    <input type="submit" value=" Go "/>


    <script type="text/javascript">

    var bCancel = false;

    function validateEmailPage(form) {
    if (bCancel)
    return true;
    return validateRequired(form) && validateEmail(form);

    function required () {
    this.aa = new Array("address", "E-mail Address is required.", new Function ("varName", " return this[varName];"));

    function email () {
    this.aa = new Array("address", "E-mail Address is an invalid e-mail address.", new Function ("varName", " return this[varName];"));


    <script type="text/javascript"