Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: ${status.value} not getting resolved

  1. #11
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    56

    Default

    >1. It works for the page without the doctype. I have tried mixing and matching to try and get the wizard form to work but as discussed...no luck.

    I mean DOCTYPE in your web.xml. Anyway, do you know what the bug is and why I'm asking to do that changes in web.xml?

  2. #12
    Join Date
    Apr 2007
    Posts
    276

    Default

    Quote Originally Posted by nekoval View Post
    >1. It works for the page without the doctype. I have tried mixing and matching to try and get the wizard form to work but as discussed...no luck.

    I mean DOCTYPE in your web.xml. Anyway, do you know what the bug is and why I'm asking to do that changes in web.xml?
    No I don't know what the bug it. Here is what my web.xml looks like:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
    
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
    	<servlet>
        	<servlet-name>springapp</servlet-name>
        	<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
        	<load-on-startup>1</load-on-startup>
      	</servlet>
    
      	<servlet-mapping>
        	<servlet-name>springapp</servlet-name>
        	<url-pattern>*.htm</url-pattern>
      	</servlet-mapping>
    
      	<welcome-file-list>
        	<welcome-file>
          		index.jsp
        	</welcome-file>
      	</welcome-file-list>
      	
      	<taglib>
    	    <taglib-uri>/spring</taglib-uri>
    	    <taglib-location>/WEB-INF/spring.tld</taglib-location>
    	</taglib>
      	
    </web-app>

  3. #13
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    56

    Default

    You have to drop DOCTYPE because it refers to Servlet 2.3.
    If that won't work, try inserting the following into web.xml:

    Code:
    <jsp-config>
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <scripting-invalid>false</scripting-invalid>
    <el-ignored>false</el-ignored>
    </jsp-property-group>
    </jsp-config>

  4. #14
    Join Date
    Apr 2007
    Posts
    276

    Default If at first you don't succeed....

    I finally just started over and got it working by creating my own sample app instead of trying to use the one from the book I am reading and wouldn't you know it, I got it up and working. Thanks for trying to help me solve this issue. I still have now clue why this was happening.

Posting Permissions

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