Re: [offlist] Re: Newbie Help
On 7/6/05, Frasso, Anthony [EMAIL PROTECTED] wrote: Thanks for your help, Rahul. My current web.xml file looks like this: ?xml version=1.0? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app ... According to the wiki, it seems that I should be changing it to this: ?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 ... Do I have this right? It seems that the web-app tag attributes substitute for the dtd definition file. Is there a good reference for the web-app tag attribute definitions? snip/ Yes, that will indicate to Tomcat you're meaning to use the Servlet 2.4 / JSP 2.0 specs. The attributes (that I think you are refering to) are really XML artifacts, so Iook for XML and W3C XML Schema tutorials, here is one [ http://www.xml.com/pub/a/2000/11/29/schemas/part1.html ] -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [offlist] Re: Newbie Help
On 7/6/05, Frasso, Anthony [EMAIL PROTECTED] wrote: snip/ Instead of doing what I would expect, it prints out the the text of $(project.projectId} instead of its value. Note that I also tried using your JSP 2.0 recommendation, replacing the c:out tag with just ${project.projectId}. Same result. See Question 1 [ http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ]. See the rest if you have another minute ;-) c:out's aren't needed. -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [offlist] Re: Newbie Help
Thanks for your help, Rahul. My current web.xml file looks like this: ?xml version=1.0? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app ... According to the wiki, it seems that I should be changing it to this: ?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 ... Do I have this right? It seems that the web-app tag attributes substitute for the dtd definition file. Is there a good reference for the web-app tag attribute definitions? Regards, Anthony Frasso - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]