Yes I am sorry. its working fine now :)

Sadia Butt

--- On Tue, 11/10/09, muhiuddin <muhiud...@yahoo.com> wrote:

From: muhiuddin <muhiud...@yahoo.com>
Subject: [java ee programming] Re: Hi
To: java-ee-j2ee-programming-with-passion@googlegroups.com, buttsa...@yahoo.com
Date: Tuesday, November 10, 2009, 4:43 AM

Code is working fine. Check that your JDK or jsp container includes required 
jar files. jstl-impl.jar and javax.servlet.jsp.jstl.jar

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
    <head>
        <title>Enter your name</title>
    </head>
    <body>
        <p>&nbsp;</p>
        <form method="POST"
 action="showname.jsp">
            1+2+3=<c:out value="${1+2+3}"/>
            <p><font color="#800000" size="5">Enter your name:</font><input 
type ="text" name="username" size="20"></p>
            <p><input type="submit" value="Submit" name="B1"></p>
        </form>
    </body>
</html>

--- On Tue, 11/10/09, Sadia Butt <buttsa...@yahoo.com> wrote:

From: Sadia Butt <buttsa...@yahoo.com>
Subject: [java ee programming] Hi
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Tuesday, November 10,
 2009, 4:57 AM

Hi Everyone.

I was in the Java Programming groun now moving in the Web development i.e. Java 
EE.

I am having a problem. 

"<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>

<html>
<head>
<title>Enter your name</title>
</head>
<body>
<p>&nbsp;</p>
<form
 method="POST" action="showname.jsp">

1+2+3=<c:out value="${1+2+3}"/> 

<p><font color="#800000" size="5">Enter your name:</font><input type ="text" 
name="username"
 size="20"></p>

<p><input type="submit" value="Submit" name="B1"></p>
</form>
</body>
</html> "

can anyone tell me what might be the problem.??? Because when i comment out the 
"1+2+3=<c:out value="${1+2+3}"/> " it works perfectly fine. I am just going 
through a tutorial & now trying to learn Jstl. 

Thanks in advance.

Regards

Sadia Butt



     






     







      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to