This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp-config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp-config" Watch "jsp-config" New topic
Author

jsp-config

Richard Rex
Ranch Hand

Joined: Sep 19, 2005
Posts: 100
Hi,

Where does exactly in deployment descriptor is the

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>

be located?

Also, for <context-param> tags? I tried placing them before or after servlet configuration and mapping and it both worked in either position. Is the order of the tags really matters here?


"If you fail to plan, you plan to fail."<br /> <br />Chad<br />SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3<br />SCDJWS (next)
Connie Ky Leung
Ranch Hand

Joined: Jan 29, 2006
Posts: 42
Originally posted by Richard Rex:
Hi,

Where does exactly in deployment descriptor is the

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>

be located?

Also, for <context-param> tags? I tried placing them before or after servlet configuration and mapping and it both worked in either position. Is the order of the tags really matters here?


<jsp-config> element is located at web.xml
The order of <filter-mapping> and <listener> tags matters in the deployment descripter.


SCJP 1.4 - 91%, SCWCD - 97%, SCJP 5.0 - 83%, SCJP 6.0, OCEJWCD - 80%
Sanjay Lokhande
Greenhorn

Joined: Mar 27, 2006
Posts: 2
Hi,

In servlet specs(servlet 2.4 spec) SRV.13.2 they say:
"The sub elements under web-app can be in an arbitrary order in this version of the specification."


look at below.
http://www.coderanch.com/t/171828/java-Web-Component-SCWCD/certification/web-xml

Hope this help you,
from,
sanjay
 
wood burning stoves
 
subject: jsp-config
 
Similar Threads
scripting-invalid question
HFSJ Q13 P332
Not able to invalidate the scripts using the tags in web.xml
Scripting Invalid Tag - tomcat 5.5
scripting-invalid