• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

EL in WSAD 4.0

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created a test environment in WSAD 4.0.
I am trying to use EL in my JSP and have imported the related jars in lib folder including jstl_el and jstl.

for line <%@ page isELIgnored="false" %>
It gives error
JspTranslate: Page directive: Invalid attribute, isELIgnored.TestEL.jspTestWeb/WebContent

If I remove <%@ page isELIgnored="false" %> then it throws error at next line

JspTranslate: Unable to open taglibrary http://java.sun.com/jsp/jstl/core : JSPG0127E: Could not locate TLD META-INF/taglib.tld.TestEL.jspTestWeb/WebContent


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
%>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="GENERATOR" content="IBM WebSphere Studio" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="theme/Master.css" rel="stylesheet" type="text/css" />
<title>TestEL.jsp</title>
</head>
<body>

Please guide me. Also tell me what to write in uri to use core tags such as <c:forEach>. I am connected to internet while running it on server.

Thanks
 
author & internet detective
Posts: 42056
926
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Parul,
WSAD 4 uses J2EE 1.3. Does that version of J2EE support EL? I thought it was added more recently than that.
 
Parul Aggarwal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks much Jeanne..
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to clarify: The use of JSTL tags which use EL is supported in J2EE 1.3. However, EL not embedded in a JSTL tag is only supported in J2EE 1.4. That also means that the directive <%@ page isELIgnored="false" %>
is not supported in J2EE 1.3.
[ April 06, 2008: Message edited by: Merrill Higginson ]
 
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic