• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp-config  RSS feed

 
Ranch Hand
Posts: 100
  • 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?
 
Ranch Hand
Posts: 42
  • 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.
 
Greenhorn
Posts: 2
  • 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
Boost this thread!