Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Error in using tag library uri='http://www.atg.com/taglibs/json' prefix='json': illegal value for <bodycontent>: 'scriptless'

Received: by 10.101.129.19 with SMTP id g19mr574759ann.79.1272271367864;
        Mon, 26 Apr 2010 01:42:47 -0700 (PDT)
X-BeenThere: json-taglib@googlegroups.com
Received: by 10.231.187.210 with SMTP id cx18ls26064515ibb.0.p; Mon, 26 Apr 
	2010 01:42:47 -0700 (PDT)
Received: by 10.150.251.14 with SMTP id y14mr2618899ybh.12.1272271366557;
        Mon, 26 Apr 2010 01:42:46 -0700 (PDT)
Received: by 10.90.42.40 with SMTP id p40mr954190agp.3.1272174248418;
        Sat, 24 Apr 2010 22:44:08 -0700 (PDT)
Received: by 10.90.42.40 with SMTP id p40mr954189agp.3.1272174248370;
        Sat, 24 Apr 2010 22:44:08 -0700 (PDT)
Return-Path: <chinmoy.prama...@gmail.com>
Received: from mail-gx0-f185.google.com (mail-gx0-f185.google.com [209.85.217.185])
        by gmr-mx.google.com with ESMTP id 18si314543ywh.9.2010.04.24.22.44.08;
        Sat, 24 Apr 2010 22:44:08 -0700 (PDT)
Received-SPF: pass (google.com: domain of chinmoy.prama...@gmail.com designates 209.85.217.185 as permitted sender) client-ip=209.85.217.185;
Received: by mail-gx0-f185.google.com with SMTP id 1so8858987gxk.15
        for <json-taglib@googlegroups.com>; Sat, 24 Apr 2010 22:44:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.91.91.7 with SMTP id t7mr529285agl.15.1272174248328; Sat, 24 
	Apr 2010 22:44:08 -0700 (PDT)
Received: by r27g2000yqn.googlegroups.com with HTTP; Sat, 24 Apr 2010 22:44:08 
	-0700 (PDT)
Date: Sat, 24 Apr 2010 22:44:08 -0700 (PDT)
X-IP: 12.20.48.10
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) 
	Gecko/20100401 Firefox/3.6.3,gzip(gfe)
Message-ID: <ae8e44f5-8d92-4c9f-ba95-d640f20828c7@r27g2000yqn.googlegroups.com>
Subject: Error in using tag library uri='http://www.atg.com/taglibs/json' 
	prefix='json': illegal value for <bodycontent>: 'scriptless'
From: "json@jsp" <chinmoy.prama...@gmail.com>
To: json-taglib <json-taglib@googlegroups.com>
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: 
	domain of chinmoy.prama...@gmail.com designates 209.85.217.185 as permitted 
	sender) smtp.mail=chinmoy.prama...@gmail.com
X-Original-Sender: chinmoy.prama...@gmail.com
Reply-To: json-taglib@googlegroups.com
Precedence: list
Mailing-list: list json-taglib@googlegroups.com; contact json-taglib+owners@googlegroups.com
List-ID: <json-taglib.googlegroups.com>
List-Post: <http://groups.google.com/group/json-taglib/post?hl=en_US>, 
	<mailto:json-taglib@googlegroups.com>
List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:json-taglib+help@googlegroups.com>
List-Archive: <http://groups.google.com/group/json-taglib?hl=en_US>
Sender: json-taglib@googlegroups.com
List-Subscribe: <http://groups.google.com/group/json-taglib/subscribe?hl=en_US>, 
	<mailto:json-taglib+subscribe@googlegroups.com>
List-Unsubscribe: <http://groups.google.com/group/json-taglib/subscribe?hl=en_US>, 
	<mailto:json-taglib+unsubscribe@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

Help required...
We have decided to use JSON-taglib to convert objects to JSON string
in our project.

My JSP uses the following line

<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>
...
<json:object>
  <json:property name="settlementDateBalance">
  	  		<bean:write name="TestActionForm"
property="settlementDateBalance"/>
  </json:property>
</json:object>

So, I placed json-taglib-0.4.1.jar into /WEB-INF/lib folder. I am
getting the following error when my JSP getting compiled at server
(Weblogic 8.1 SP6):
<Apr 25, 2010 1:39:26 AM EDT> <Warning> <HTTP> <BEA-101248>
<[ServletContext(id=22064254,name=<project_name>,context-path=/
<project_name>)]: Deployment descriptor "jar:file:D:
\beaSP6\user_projects\domains\<domain_name>\.\myserver\.wlnotdelete
\extract\myserver_<project_name>_<project_name>\jarfiles\WEB-INF\lib
\json-taglib-0.4.1.jar!/META-INF/json.tld" is malformed. Check against
the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'.
(line 2, column 196).>
<Apr 25, 2010 1:39:26 AM EDT> <Error> <HTTP> <BEA-101020>
<[ServletContext(id=22064254,name=<project_name>,context-path=/
<project_name>)] Servlet failed with Exception
weblogic.servlet.jsp.JspException: (line 3): Error in using tag
library uri='http://www.atg.com/taglibs/json' prefix='json': illegal
value for <bodycontent>: 'scriptless'
	at
weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:
1243)
	at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:
1310)
	at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:
1269)
	at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:
292)
	at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:
314)
	at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
	at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:
5067)
	at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:
4905)
	at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4751)
	at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2161)
	at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1947)
	at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1820)
	at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
	at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
	at weblogic.servlet.jsp.JspParser.parse(JspParser.java:234)
	at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
	at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:
258)
	at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:396)
	at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
	at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
	at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:
598)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:
406)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:
526)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:
348)
	at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:
336)
	at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:
1056)
	at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:
261)
	at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:
388)
	at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:
316)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
231)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1164)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
415)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl
$ServletInvocationAction.run(ServletStubImpl.java:1077)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:
465)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:
348)
	at weblogic.servlet.internal.WebAppServletContext
$ServletInvocationAction.run(WebAppServletContext.java:7051)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:
321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
	at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:
3902)
	at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:
2773)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>

-- 
You received this message because you are subscribed to the Google Groups "json-taglib" group.
To post to this group, send email to json-taglib@googlegroups.com.
To unsubscribe from this group, send email to json-taglib+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/json-taglib?hl=en.