Hi Sadia, Do you have an error stack trace that we can work with? It will be more helpful if you post the error as well.
But just by knowing that when you comment out <c:out/> the code works gives me an idea that you might not have the necessary libraries in your classpath. You need at least jstl.jar and standard.jar from apache, download here<http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi>and add it to your classpath. By the way I would suggest you learn more about current HTML practices cause we don't use the <font> tag anymore. I recomment going to htmldog.com<http://www.htmldog.com> . Regards, Bob On Tue, Nov 10, 2009 at 7:57 AM, Sadia Butt <buttsa...@yahoo.com> wrote: > 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> </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 -~----------~----~----~----~------~----~------~--~---