0 Replies Latest reply on Mar 13, 2006 2:36 PM by erwinrm

    JBoss 4.0.3SP1 Upgrade and Struts html:base problem

    erwinrm

      I've upgraded our dev JBoss installation from 3.2.3 to 4.0.3SP1. One of the struts application is having a problem finding the CSS file, which is located in the jsp directory. It looks like the struts tag <html:base> is resolving differently between the 2 versions of JBoss.

      On the app's web.xml, the welcome file is listed as:

      <welcome-file-list>
       <welcome-file>jsp/logon.jsp</welcome-file>
       </welcome-file-list>


      The file logon.jsp has <html:base> within the html's head section. On JBoss 3.2.3, this expands to
      <base href="https://myhost.com/AppRoot/jsp/logon.jsp">


      On 4.0.3SP1, this expands to
      <base href="https://myhost.com/AppRoot/">


      Is there a way to make JBoss 4.0.3SP1 behave like ver. 3.2.3? I'd rather not have the developers change their WAR file.