I am using Tomcat 5.0 and jstl-1.1.1.jar and standard-1.1.1.jar. so it seems that everything should be fine..., but isn't... :(
Laurie Harper wrote: > > What servlet container are you using? What version of the servlet spec > are you coding against? And what version of JSTL are you using? You need > to make sure you have the right version of JSTL for your container / > servlet spec level. See [1] for more info. > > L. > > [1] http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html > > puchacz wrote: >> org.apache.jasper.JasperException: The absolute uri: >> |http://java.sun.com/jsp/jstl/core| cannot be resolved in either web.xml >> or >> the jar files deployed with this application >> >> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) >> >> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411) >> >> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118) >> >> org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316) >> >> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147) >> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) >> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) >> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) >> org.apache.jasper.compiler.Parser.parse(Parser.java:126) >> >> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220) >> >> org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) >> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203) >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:470) >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) >> org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) >> >> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) >> >> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) >> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> >> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062) >> >> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) >> >> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) >> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) >> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:709) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> >> >> >> Musachy Barroso-2 wrote: >>> use: >>> >>> <%@ taglib prefix="c" uri="|http://java.sun.com/jsp/jstl/core|" %> >>> >>> ||musachy >>> >>> puchacz wrote: >>>> If anybody can explain me why I get this error and how to repaire it. >>>> >>>> My view page : >>>> " >>>> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> >>>> <html> >>>> <head> >>>> <link href="main.css" rel="stylesheet" type="text/css"/> >>>> </head> >>>> >>>> <body > >>>> <center> >>>> <c:out value="${informacja.info}"></c:out> >>>> </center> >>>> </body> >>>> </html> >>>> " >>>> >>>> And that's my error: >>>> >>>> " >>>> org.apache.jasper.JasperException: /info.jsp(13,0) According to TLD or >>>> attribute directive in tag file, attribute value does not accept any >>>> expressions >>>> >>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) >>>> >>>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) >>>> >>>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150) >>>> >>>> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:941) >>>> >>>> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:696) >>>> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) >>>> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) >>>> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) >>>> org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219) >>>> org.apache.jasper.compiler.Node$Root.accept(Node.java:456) >>>> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) >>>> org.apache.jasper.compiler.Validator.validate(Validator.java:1475) >>>> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:214) >>>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:470) >>>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) >>>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) >>>> >>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) >>>> >>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) >>>> >>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) >>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> >>>> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1062) >>>> >>>> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) >>>> >>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) >>>> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) >>>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> >>>> >>>> " >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Error-with-%3Cc%3Aout--%3E-tf3215591.html#a8930673 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]