This discussion is archived
0 Replies Latest reply: Sep 5, 2012 10:05 AM by Moh RSS

weblogic.xml: jsp-descriptor element (working-dir)

Moh Pro
Currently Being Moderated
Hi all,

In order to define correct deployment directory, we want to modify the weblogic.xml with jsp-descriptor as followed (e.g.):

<?xml version="1.0" encoding="ISO-8859-1"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
<security-role-assignment>
<role-name>PrivilegedUser</role-name>
<principal-name>Administrators</principal-name>
</security-role-assignment>
<jsp-descriptor>
<page-check-seconds>60</page-check-seconds>
<precompile>false</precompile>
<precompile-continue>false</precompile-continue>
<keepgenerated>true</keepgenerated>
<verbose>true</verbose>
*<working-dir>D:\Oracle\Middleware</working-dir>*
</jsp-descriptor>

<charset-params>
<input-charset>
<resource-path>/*</resource-path>
<java-charset-name>UTF-8</java-charset-name>
</input-charset>
</charset-params>
</weblogic-web-app>

My questions:
1- Is the solution (using weblogic.xml and modify working-dir) correct?

2- What is the best approach:
a- preparing <working-dir>D:\Oracle\Middleware</working-dir> via development phase and responsiblity of developer team?
b- adjust and modify application(s) via adminstrators

3- I find the following doc:
http://docs.tpu.ru/docs/Oracle/en/fmw/11.1.1.6.0/web.1111/e13712/weblogic_xml.htm#i1038490
Is there more doc/sample/info available regarding this matter?

Regards,
Moh

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points