> Frasso, Anthony wrote:
> 
> >So then I can completely remove the <taglib> tag from my 
> web.xml file, making it look like the following?
> >
> ><?xml version="1.0"?>
> >
> ><web-app xmlns="http://java.sun.com/xml/ns/j2ee";;
> >         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";;
> >         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> >           http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";;
> >         version="2.4">
> >
> >  <servlet>
> >    [...]
> >  </servlet>
> >
> >  <servlet-mapping>
> >    [...]
> >  </servlet-mapping>
> >
> >  <welcome-file-list>
> >    [...]
> >  </welcome-file-list>
> >
> ></web-app>
> >  
> >
> Oh, so THAT'S what a web.xml without a taglib block looks like.
> 
> >There's nothing else I have to configure to use JSTL?
> >  
> >
> Like he said, as long as you have a proper taglib directive 
> in the JSP 
> and the libraries available you should be fine.
> 
> (Wouldn't it have been quicker to just take out the taglib 
> directive and 
> see if it worked?!)
> 
> Dave

Unfortunately, I still haven't been able to get cooking on this project, as it 
still seems to be not working.  I had wanted to verify that I understood what I 
had read.  In any case, can anyone tell me what is wrong with the following JSP?

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>

<HTML>

<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>

<BODY>

<% String test = "This is a test String."; %>

<c:out value="${test}" />
${test}

</BODY>

</HTML>

This should print out "This is a test String" twice, correct?  Do I have to 
place the String in the request?

Regards,
Anthony Frasso

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to