struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernesto Reinaldo Barreiro <reier...@gmail.com>
Subject Re: AJAX issues in struts 2.1.6
Date Thu, 03 Sep 2009 08:33:21 GMT
Maybe just <sx:head debug="true"/>? Or <sx:head cache="false" debug="true"/>
if you don't want JS to be cached?
Best,

Ernesto


On Thu, Sep 3, 2009 at 10:27 AM, calintz <t492113@yahoo.com> wrote:

>
> Hello everyone, i need help here~
>
> these are my jar files
> struts2-dojo-plugin-2.1.6
> struts2-core-2.1.6
> ---------------------------------------------------------------
>
> this is my index.jsp
> <%@ taglib prefix="s" uri="/struts-tags"%>
> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
> <html>
>        <head>
>                <s:head theme="ajax" debug="true"/>
> ----------------------------------------------------------------
>
> there is a yellow line under the "debug" keyword(Undefined attribute name
> "debug").
> If i change the <s:head to <sx:head , then the yellow line will show under
> 'theme' keyword.
> Any solution??thx for your advance~!
>
> ----------------------------------------------------------------
> the error that i get
>
> exception
>
> org.apache.jasper.JasperException: /index.jsp(4,2) Attribute debug invalid
> for tag head according to TLD
>
>
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
>
>
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
>
>
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
>
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:986)
>
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:706)
>        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
>        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
>        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
>        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222)
>        org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
>        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
>        org.apache.jasper.compiler.Validator.validate(Validator.java:1484)
>        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
>
>
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
>
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
>
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
>        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
>
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)
>
>
> org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)
>
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p25271737.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message