File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp-config

 
Richard Rex
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Connie Ky Leung
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sanjay Lokhande
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic