Page 1 of 1

About Question enthuware.jwpv6.2.914 :

Posted: Thu Nov 22, 2012 5:11 pm
by tori3852
Shouldn't taglib's declaration use 2.0 schema? Also slash is missing:
Should be
or maybe
, but then other things would have to change too:

Code: Select all

<taglib xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
	version="2.1">
.

Re: About Question enthuware.jwpv6.2.914 :

Posted: Sun Nov 25, 2012 10:56 am
by admin
I think it is ok. It doesn't really affect the question or the answer.
-Paul.

Re: About Question enthuware.jwpv6.2.914 :

Posted: Fri Jul 12, 2013 4:20 am
by JoeAllen
I posted a question in coderanch.com similar to this question. See http://www.coderanch.com/t/615198/java- ... -tag-files
It seems the outcome is container specific. For body content "tagdepent", in webshere, the expression like <%= 3*4 %> is ignored, and not output as plain text as your correct answer indicates. In JBoss, the expression would cause an error.
Did you try it in Tombcat to get it as plain text as output?