Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reg deployment descriptor

 
Senthil Kumar N
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a doubt regarding this scenario

I have added the this tag in web.xml
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>true</el-ignored>
</jsp-property-group>
<jsp-config>

if you do so El should be disabled.

In the ROOT webapps i have the code like

<html>
<body>
<h1>Hello EL</h1>
${param.command}
</body>
</html>

if i try like this http://localhost/jspex/test5.jsp?command=Hi

Hi is printing. But as per spec we shouldn't get. Why I am getting Hi print.
Anybody can explain it.

Thanks
 
Leandro Melo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is weird. Have you re-deployed your app and tested it?
What application server are you using?
 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use the page directive isELignored="true".

Regards
Aruneesh
 
Senthil Kumar N
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

After shutting down the webapps and starting it works fine. I have configured as auto reloading so i told its not working. Thanks for guiding me.

Regards
senthil
 
Senthil Kumar N
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks melo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic