Skip to main content

Posts

Showing posts with the label url-pattern

Directory Listing - A Simple WebLogic Application

In this article I will show how to create a simple WebLogic application that lets you navigate directories and files on a server. This can be one of the handiest utilities. I use it all the time to give developers access to logs in test and pre-production environments. But first, a warning... Be careful what files you make available to others. Some files, especially within a WebLogic domain directory, contain information that MUST be kept secret if the domain is to remain secure. NEVER provide read-access to all files in a WebLogic domain directory. Like any WebLogic application, you must create a WAR file with the following components inside: WEB-INF (directory) WEB-INF\web.xml WEB-INF\weblogic.xml The first step is to create a new directory called 'WEB-INF'. The web.xml descriptor Inside the WEB-INF directory, create a new file called web.xml, and paste the following XML code: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "