About Question enthuware.jwpv6.2.914 :

Moderator: admin

Post Reply
tori3852
Posts: 38
Joined: Wed Oct 31, 2012 2:53 am
Contact:

About Question enthuware.jwpv6.2.914 :

Post 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">
.

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.914 :

Post by admin »

I think it is ok. It doesn't really affect the question or the answer.
-Paul.

JoeAllen
Posts: 13
Joined: Thu Jul 11, 2013 11:22 pm
Contact:

Re: About Question enthuware.jwpv6.2.914 :

Post 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?

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests