Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

virtual directory mapping in weblogic.xml

Status
Not open for further replies.

codingGirl

Programmer
Apr 10, 2003
1
US
Hi

I have deployed my web application as a war file and am trying to set up a path to documents on Solaris using <virtual-directory-servlet> in the weblogic.xml file. Looks like this:

****************************************************
<!DOCTYPE weblogic-web-app
PUBLIC &quot;-//BEA Systems, Inc.//DTD Web Application 6.0//EN&quot;
&quot;
<weblogic-web-app>
<virtual-directory-mapping>
<local-path>/directory1/directory2/</local-path>
<url-pattern>/pathName/*</url-pattern>
<url-pattern>*.html</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
*******************************************************

The path &quot; &quot; is being created but it submits a server error when trying to locate the html file.

Any ideas? I have placed the weblogic.xml file in the WEB-INF directory.

Thanks so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top