0 Replies Latest reply on Jul 21, 2005 6:06 AM by sachin jain

    Virtual Path mapping in JBoss

    sachin jain Newbie

      I am porting an exisiting web application to J2EE.

      I have a HTML file which has a JS/Images/CSS file includes (/dir/css/)something like below :

      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

      <TD ALIGN=left VALIGN=top>

      <TD ALIGN=right VALIGN=top>

      In existing system which runs on WindWeb Web server, I have mapping of "/dir" to some physical directory on web server. Now the same I have to achieve on JBoss.
      It would be better for me if I don't change .html file to .JSP file And I need "/dir" to be mapped to "request.getContextPath()" So that I do not end up in changing all the files.

      Is there any way to do this?