- This topic has 1 reply, 2 voices, and was last updated 18 years, 5 months ago by Riyad Kalla.
-
AuthorPosts
-
thpMemberI’d set up a web project, in Web.xml I ireference the 2.4 schemas.
When trying to add the JSTL, the widow shows correctly Servlet 2.4
Additionally I add some taglib-entries to the web.xml:
<jsp-config>
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
</taglib>
…..
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-ignored>false</el-ignored>
</jsp-property-group>
…also 2.4-style. No Errors or warning.
When creating a new JSP from a form, the header shows
<%@ page language=”java”%>
<%@ taglib uri=”http://jakarta.apache.org/struts/tags-bean” prefix=”bean”%>
<%@ taglib uri=”http://jakarta.apache.org/struts/tags-html” prefix=”html”%>, it will not reference the changed uri from the web.xml. I have to do this manually
2nd thing: I can’t add a isELIgnored to the page-directive, it is unknown. and EL expressions were not evaluated during execution.I can’t figure out what’s going wrong.
In the myEclypse directoris I only found dtd’s for Web-app 2.2 and 2.3 nothing for 2.4.I have no idea from which place the jsp editor will have to get the new 2.4 properties. And why the JSP generator completely ignores the entries in the web.xml.
Is the problem in myEclipse or in front of my computer?myEclipse 4.11 GA
Tomcat 5.5
Eclipse 3.1.2
eXPerimental OS SP2Have a nice WE
thp
Riyad KallaMemberTHP,
The templates for the JSP pages do not use the custom URIs from your web.xml file, for the time being they are simple templates being generated on the fly. We have an enhancement request to make them smarter (and honor custom URIs from web.xml file) but that work hasn’t been done yet. FOr the time being you will need to change them manually.Additionally, the lack of isELIgnored in autocomplete seems to be a bug, you should be able to set this. I would point out that with a web 2.4 spec app, the default is “True” though, so it should be evalating your EL.
-
AuthorPosts