Actually EL is not working in my JSP file.. I am working in the WSAD IDE.. In the web.xml file the following DOCTYPE definition is there..
I tried to do add the following code in the web.xml and I removed the above code..
But it is showing error.. [ March 15, 2007: Message edited by: Jessica James ]
Joined: Jan 02, 2007
To Resolve this error ---------- Window->preferences->validation and uncheck war file validation and xml validation.
You dont need to write WEB.XML in WASD --------------------------------------
Create a Enterprized application project with a Web module in it. It creates a WEB.XML which has all required entries.
WASD "pampers" --------------- As WASD creates the web application structure by itself, I always used to ignore the things like, web app structure,web.xml structure, deployment. So I would suggest you to use some simple text editor and Tomcat like server to deploy it.
I myself is a good example for spoiled by WASD
Joined: Jan 23, 2007
Joined: Mar 12, 2007
just get the Error dump which you have got or just let me see your code
Jessica, you have to use web-app version 2.4 to be able to use EL. Use this as a header in your web.xml file
<web-app id="YourAppName" version="2.4" 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 [url=http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">]http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">[/url] [ March 21, 2007: Message edited by: Johan Pelgrim ]
Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
Joined: Mar 08, 2007
Good morning! Well, let me share my experience that may be useful! I had similar problems last year when I was using WSAD 5.0.0! This WSAD version has a internal webshpere version 4.0 which doesn�t support EL by default! Which WSAD version are you using? I know that the choice of IDE and container is very personal, but for the SCWCD exam, I suggest you use tomcat 5.x and eclipse! Good luck!