Monday, April 6, 2009

Direct file access in weblogic server

In weblogic, you can keep a directory for all images,pdfs,....

how to do ...


you have to create a "weblogic.xml" file in WEB-INF in your application. This weblogic.xml should be like this.

<?xml version="1.0" encoding="UTF-8"?>







suppose you have a directory called as images in path /apps/test/images. You can give users to direct access those files as follows.


This is called as Virtual directory mapping in weblogic.

No comments:

Post a Comment