File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes reg deployment descriptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "reg deployment descriptor" Watch "reg deployment descriptor" New topic
Author

reg deployment descriptor

Senthil Kumar N
Greenhorn

Joined: Nov 30, 2004
Posts: 19
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

Joined: Mar 27, 2004
Posts: 401
This is weird. Have you re-deployed your app and tested it?
What application server are you using?


Leandro Melo
SCJP 1.4, SCWCD 1.4
Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
Did you use the page directive isELignored="true".

Regards
Aruneesh
Senthil Kumar N
Greenhorn

Joined: Nov 30, 2004
Posts: 19
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

Joined: Nov 30, 2004
Posts: 19
thanks melo
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: reg deployment descriptor
 
Similar Threads
Question on scripting invalid and el ignored tags
Hi..please help me out
el-ignored query
Need help with Tomcat 5 and el
About page directive