Error in JATO textfield tag
There is an error in the TestFieldTag.java file that generates the HTML in
correctly. If you give the Textfield a MaxLength is comes out in HTML as
<jato:textField name="tbTrackingID" size="25" maxLength="256" />
<input type="text" name="pgAuditSearch.tbTrackingID" value="""
maxLength="256"" size="25">
Notice the value has three " marks and the maxLength does as well. This can
be a problem, eps. with javascript.
There is a spot in the code where the HTML tag is being generated and it
writes to a buffer. It has an extra .append with ("\"") that gives this
error.
Just FYI in case anyone else has encountered problems like this.
Eric Hagopian
Bank of America Direct
eric.hagopian@b...
312.974.6411
Eric--
Thanks for letting us know. I believe this one got fixed early in our 1.1
cycle, as it doesn't appear to be a problem now.
Cheers,
Todd
----- Original Message -----
From: <eric.hagopian@b...>
Sent: Friday, February 16, 2001 9:16
Subject: [iPlanet-JATO] Error in JATO textfield tag
There is an error in the TestFieldTag.java file that generates the HTML in
correctly. If you give the Textfield a MaxLength is comes out in HTML as
<jato:textField name="tbTrackingID" size="25" maxLength="256" />
<input type="text" name="pgAuditSearch.tbTrackingID" value="""
maxLength="256"" size="25">
Notice the value has three " marks and the maxLength does as well. Thiscan
be a problem, eps. with javascript.
There is a spot in the code where the HTML tag is being generated and it
writes to a buffer. It has an extra .append with ("\"") that gives this
error.
Just FYI in case anyone else has encountered problems like this.
Eric Hagopian
Bank of America Direct
eric.hagopian@b...
312.974.6411
[email protected]
Similar Messages
-
Error while parsing the Tag Library Descriptor
Hi,
We are installing LC ES2 on Suse64 / weblogic platform. When the adobe-conmtentservices application is starting, we see a lot od error like this:
<Mar 24, 2010 10:56:53 AM CET> <Warning> <HTTP> <BEA-101196> <[/contentspace]: Error while parsing the Tag Library Descriptor at "/opt/oracle/product/WLS1031/user_projects/domains/LC9/servers/LC9_MS/tmp/_WL_user/adobe- contentservices/4xxkue/war/WEB-INF/contentservices.tld".
com.ctc.wstx.exc.WstxIOException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:134)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
Truncated. see log file for complete stacktrace
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
at weblogic.net.http.HttpClient.openServer(HttpClient.java:314)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:404)
at weblogic.net.http.HttpClient.New(HttpClient.java:240)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:172)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:356)
Truncated. see log file for complete stacktrace
The application tries to download something from java.sun.com site but the server can not access internet. The process is repeated for each TLD file !
After a very time (more than 45 minutes!), the server finally starts and all adobe application are active
So, how to correct this behaviror ? is there a patch?
cb.Hi,
Did you get solution for this because I am also facing same issue. Please do reply ASAP... it is very uegent.
Regards,
Srujan -
Class format error: Invalid constant pool tag found
I am simply attempting to create an instance of an object and I get Class format error: Invalid constant pool tag found. Does anyone know what this means and how to fix it?
Thanks.If you're compiling with J2SDK 1.4 or higher, you need to use "-target 1.1" on the javac command line.
Also make sure you're not using any float constants such as 1.0 in your code. -
Error processing CFX custom tag "CFX_iMSMail".
Hi
I am testing a CF application and this is the error I get.,
when I am trying to 'register for a certain event'.
Error processing CFX custom tag "CFX_iMSMail".
'The CFX custom tag "CFX_iMSMail" was not found in the custom
tag database. Please be sure to add custom tags to the database
before using them. If you have added your tag to the database then
you should check the spelling of the tag within your template to
insure that it matches the database entry.'
Text
The following are the lines of code in one of my cf pages
that seem to be responsible for causing the error.
486 : spooldir="#application.mailPath#/Out/"
487 : priority="0"
488 : smtpfrom="#listPart.contactEmail#"
489 : header_from="#Trim(listPart.contactName)#
<#Trim(listPart.contactEmail)#>"
Is there any fix for the CFX custom tag problem or is there
anything I am missing. I am using CF 7.0 on Windows XP
thanks in advanceYou must register CFX custom tags in the CF Administrator.
Until you do, they will not be found by the server. That's what the
error message is trying to tell you. -
Enter key in jato:textField crashes ViewBean
I have a jato:textField in a very simple JSP/ViewBean which was migrated
from NetDynamics with the iMT tool and then hand-modified to work under the
JATO framework.
If I click Enter in the textField, the page crashes with ServletException
"The request was not handled by the specified handler". It doesn't give a
line number. Using an IDE debugger (JBuilder) I see that a forwardTo()
method has been invoked.
Other pages don't react to the enter key like this. They beep the
client. Exactly what I want. Where do I look for trouble?
Ned Kellogg
Harvard University Development Office
124 Mt Auburn Street, 4th Floor
Cambridge, MA 02138
617-495-4164
[Non-text portions of this message have been removed]Did you try searching the forum first before posting your questions?
The following keywords, taken directly from your question would be a good place to start: "disable enter jtextarea". -
AIA Error Notification Format : HTML Tags
Hi All,
I am trying to customize the AIA Error notifications in AIAEHNotification.xml file to include the html tags such as <font color="blue"> etc. to change the look of the error message. But the same is not getting reflected in the error emails I receive.
I'm sure the file AIAEHNotification.xml is getting updated as I can see my updated content every time but not html formatted in any case.
Does default AIA Error handler support HTML tags inside the email body message or it just uses <pre> by default before sending the notification?
AIA 3.0
SOA Suite 11.1.1.3
Regards,
Neeraj sehgalNeeraj,
html tags are not supported in the AIA EH notification framework as of now and I am not aware of any plans to support this in any of the next releases.
Gerhard -
Spelling error in Attributes select tag - manatory="1"
Anyone got a work around for this?
Using Product > Attributes dropdown and selecting it as a Required field, the output contains a spelling error in the Select tag.
It outputs as 'manatory', when it should be 'mandatory', therefore it does't check it it's required.
<div class="catProdAttributeItem">
<select class="input-medium" manatory="1">
<option value="">-- Please select --</option>
<option value="14238264">1 </option>
<option value="14238265">2 </option>
<option value="14238266">3 </option>
</select>
</div>
I've notified BC, but it could take some time for them to fix their code, busy as they areError was ours in JS. Apologies.
-
Error using Datalist Custom tag HELP!
Where can I obtain information for the following error: (IDE is JDeveloper): I have been researching this for 3 weeks without success.
ERROR: Attribute "source" of tag "DataList" cannot be set with a constant, an expression must be specified.
CODE WITH PROBLEM
<!--- *** BEGIN DB CONNECTION --->
<sql:openConnection driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" url="jdbc:microsoft:sqlserver://SPLSERVER:1433" user="MY_WEB_USERS" password="PASSWORD" id="conn"/>
<sql:setQuery id="conn" query="select * from schemes order by name" res="colorSchemes"/>
</sql:setQuery>
<sql:ifError id="conn">
<table align="center" width="60%" border="0">
<tr> <td>
<br><br> A Connection to the DataBase could not be made!
</td>
</tr>
<tr> <td>
<br><br> Error Generated: <sql:getError id="conn" />
</td>
</tr>
</table>
</sql:ifError>
<sql:ifFound res="colorSchemes">
<% String Found="OK"; %>
</sql:ifFound res="colorSchemes">
<!--- *** END DB CONNECTION --->
<!--- *** BEGIN TABLE LISTING --->
<list:DataList source="<%=\"colorSchemes\"%>" type="com.cj.datalist.dbtag">
<!--- *** DATALIST HEADER SECTION --->
<list:headerTemplate>
<TABLE CLASS="TableDouble" border="0" align="center"width="50%">
<TR>
<TD BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>" ALIGN="center" colspan="5">
<FONT ALIGN="center" CLASS="<%= session.getAttribute("MyFon") %>16">
<sql:getCount res="colorSchemes"/> Available Color Schemes!</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="center" WIDTH="25%" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Scheme Name</FONT>
</TD>
<TD ALIGN="center" WIDTH="8%" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Dark</FONT>
</TD>
<TD ALIGN="center" WIDTH="8%" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Light</FONT>
</TD>
<TD ALIGN="center" WIDTH="8%" colspan="2" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Select </FONT>
</TD>
</TR>
<FORM ACTION="colors.jsp" METHOD="post" NAME="changecolor">
</list:headerTemplate>
<!--- *** DATALIST ITEM SECTION --->
<list:itemTemplate>
<TR>
<TD CLASS="NoEedge" STYLE="border-bottom:solid;border-bottom-width : thin;">
<FONT CLASS="F10">
<%=CURRENT_OBJECT.getColumn(2)%>
</FONT>
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;"
bgcolor="<%=CURRENT_OBJECT.getColumn(4)%>">
<FONT class="F10"> </FONT>
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;"
bgcolor="<%=CURRENT_OBJECT.getColumn(5)%>">
<FONT class="F10"> </FONT>
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;">
<input TYPE="Button" NAME="DarkButton" VALUE="Dark" ONCLICK="SetBkg('Dark');">
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;">
<input TYPE="Button" NAME="Light" VALUE="Light" ONCLICK="SetBkg('Light');">
</TD>
<input TYPE="Hidden" NAME="ccsfile" VALUE="<%=CURRENT_OBJECT.getColumn(3)%>">
<input TYPE="Hidden" NAME="dark_d" VALUE="<%=CURRENT_OBJECT.getColumn(6)%>">
<input TYPE="Hidden" NAME="dark_l" VALUE="<%=CURRENT_OBJECT.getColumn(7)%>">
<input TYPE="Hidden" NAME="DarkValue" VALUE="">
<input TYPE="Hidden" NAME="LightValue" VALUE="">
<input TYPE="Hidden" NAME="update" VALUE="1">
</TR>
</list:itemTemplate>
</FORM>
<!--- *** DATALIST FOOTER SECTION --->
<list:footerTemplate>
</TABLE>
</list:footerTemplate>
</list:DataList>I had the same problem. In your .tld change tagclass to tag-class and bodycontent to body-content and that should do the trick. The names slightly changed for JSP spec 1.2.
-
Getting error like "The following tags were not closed ..."
Hi,
I am getting an error like "The following tags were not closed <Main Report Name>. Error processing resource 'http://abc.cdf.bnm/OA_CGI/FNDWRR.e..."
Issue is , TAG is breaking with main report name.
Any suggestions would be appreciated.
Edited by: user12086550 on May 10, 2010 5:33 AMI'm having the same problem, but how did you resolved it??
my sub query is running good in toad. this is my xml
<?xml version="1.0" encoding="UTF-8"?>
<dataTemplate name="Asset_Loc_Change" description="Change_in_Asset_Location_and_Account" version="1.0">
<properties>
<property name="xml_tag_class" value="upper"/>
<property name="include_parameters" value="true"/>
</properties>
<parameters>
<parameter name="P_START_DATE" dataType="varchar2"></parameter>
<parameter name="P_END_DATE" dataType="varchar2"></parameter>
<parameter name="P_BOOK_NAME" dataType="varchar2"></parameter>
</parameters>
<lexicals>
</lexicals>
<dataQuery>
<sqlStatement name="LOC_DETAIL">
<![CDATA[
select
ASSET_NUMBER,DESCRIPTION,ASSET_CATEGORY,trunc(MAX(DATE_CHANGED)) DATE_CHANGED,
MAX(OLD_ACCOUNT) OLD_ACCOUNT,Max(NEW_ACCOUNT) NEW_ACCOUNT,Max(OLD_LOCATION) OLD_LOCATION,Max(NEW_LOCATION) NEW_LOCATION
from(
select distinct
fad.asset_number,
fad.ATTRIBUTE_CATEGORY_CODE ASSET_CATEGORY,
fad.description DESCRIPTION,
max(fdh.DATE_EFFECTIVE) DATE_CHANGED,
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), NULL, gcc.segment1||'.'||gcc.segment2||'.'||gcc.segment3||'.'||gcc.segment4||'.'||gcc.segment5||'.'||gcc.segment6||'.'||gcc.segment7||'.'||gcc.segment8) OLD_ACCOUNT,
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), gcc.segment1||'.'||gcc.segment2||'.'||gcc.segment3||'.'||gcc.segment4||'.'||gcc.segment5||'.'||gcc.segment6||'.'||gcc.segment7||'.'||gcc.segment8, NULL) NEW_ACCOUNT,
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), NULL, fal.segment4||'-'||fal.segment3||'-'||fal.segment2||','||fal.segment1) OLD_LOCATION,
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), fal.segment4||'-'||fal.segment3||'-'||fal.segment2||','||fal.segment1, NULL) NEW_LOCATION
from
fa_distribution_history fdh,
fa_locations fal,
FA_CATEGORIES CAT,
fa_additions fad,
gl_code_combinations gcc,
fa_books fb
where
1=1
and fdh.DATE_EFFECTIVE between to_char(trunc(:P_START_DATE)) and to_char(trunc(:P_END_DATE))
and fal.location_id = fdh.location_id
and fad.asset_id = fdh.asset_id
and fdh.code_combination_id = gcc.code_combination_id
and fb.book_type_code = fdh.book_type_code
and fb.book_type_code = to_char(:P_BOOK_NAME)
and fb.asset_id = fdh.asset_id
Group by
fad.asset_number,
fad.ATTRIBUTE_CATEGORY_CODE,
fad.description
,NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), NULL, gcc.segment1||'.'||gcc.segment2||'.'||gcc.segment3||'.'||gcc.segment4||'.'||gcc.segment5||'.'||gcc.segment6||'.'||gcc.segment7||'.'||gcc.segment8),
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), gcc.segment1||'.'||gcc.segment2||'.'||gcc.segment3||'.'||gcc.segment4||'.'||gcc.segment5||'.'||gcc.segment6||'.'||gcc.segment7||'.'||gcc.segment8, NULL),
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), NULL, fal.segment4||'-'||fal.segment3||'-'||fal.segment2||','||fal.segment1),
NVL2(to_char(fdh.TRANSACTION_HEADER_ID_OUT), fal.segment4||'-'||fal.segment3||'-'||fal.segment2||','||fal.segment1, NULL)
GROUP BY
ASSET_NUMBER,ASSET_CATEGORY,DESCRIPTION;
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_ASSET_LOC" source="LOC_DETAIL">
<element name="ASSET_NUMBER" value="ASSET_NUMBER"/>
<element name="DESCRIPTION" value="DESCRIPTION"/>
<element name="ASSET_CATEGORY" value="ASSET_CATEGORY"/>
<element name="DATE_CHANGED" value="DATE_CHANGED"/>
<element name="OLD_ACCOUNT" value="OLD_ACCOUNT"/>
<element name="NEW_ACCOUNT" value="NEW_ACCOUNT"/>
<element name="OLD_LOCATION" value="OLD_LOCATION"/>
<element name="NEW_LOCATION" value="NEW_LOCATION"/>
</group>
</dataStructure>
</dataTemplate> -
Error in using struts tag library
Platform information:
Windows XP
BEA Weblogic Server 8.1 (Developer)
Struts 1.1
I am unable to compile the following JSP in weblogic because it says there is
an error using the struts-html tag library. (Details about the error are mentioned
after the JSP)
My JSP file is:
===================================================================
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="com.hipaaccelerator.runtime.HARuntime" %>
<jsp:useBean id='logonForm' scope='request' class='com.hipaaccelerator.hipaax.form.LogonForm'/>
<html:html>
<head>
<title>Logon</title>
<link rel='stylesheet' href="<html:rewrite page='/styles/default.css'/>" type='text/css'
>
<script language='javascript' src="<html:rewrite page='/scripts/default.js'/>"
type='text/javascript'></script>
</head>
<body>
<html:form action='/logon.do' >
<table border='0' align='center' >
<tr><td height='10'></td></tr>
<tr>
<td align='center'>
<html:img src='/images/Logo.gif' height='70'
width='449'/>
</td>
</tr>
<tr><td height='10'></td></tr>
</table>
<table align='center' width='100%' >
<tr><td height='10'></td></tr>
<tr>
<td height='20' width='10%'> </td>
<td height='20' colspan='3' align='center' style="font-size: 18pt; color:
blue;
background-color: white; text-align:center">PAC
</td>
<td height='20' width='10%'> </td>
</tr>
<tr><td height='10'></td></tr>
<tr>
<td height='20' width='10%'> </td>
<td height='20' width='8%'> </td>
<td height='20' align='center' style="border-style:solid; border-width:2pt;
font-
size: 10pt; color: red; background-color: white; text-align:center">
<%= HARuntime.instance().getConfig().getProperty("logonAnnouncement")
%>
</td>
<td height='20' width='8%'> </td>
<td height='20' width='10%'> </td>
</tr>
<tr><td height='10'></td></tr>
</table>
<table border='0' align='center' >
<tr>
<td class='formfieldname' ><b>User Name: </td>
<td class='formfield'>
<html:text property='username' maxlength='20' size='20'/>
</td>
</tr>
<tr><td class='formfieldspacer'></td></tr>
<td class='formfieldname' ><b>Password:</b> </td>
<td class='formfield'>
<html:password property="password" size="20" maxlength="20"
redisplay="false"/>
</td>
</tr>
<tr><td class='formfieldspacer'></td></tr>
<tr>
<td colspan='2' align='middle'>
<html:image src='/images/login.gif' onclick='document.forms[0].submit();
return false;' />
</td>
</tr>
</table>
<br><br>
</html:form>
</body>
</html:html>
===================================================================
The translation of this page fails with the following error:
<Dec 16, 2003 5:06:13 PM MST> <Error> <HTTP> <BEA-101045> <[ServletContext(id=4595,name=hipaax,context-path=/hipaax)]
translation of /logon.jsp failed:
weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/WEB-INF/struts-html.tld'
prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag' has no setter
method corresponding to TLD declared attribute 'server', (JSP 1.1 spec, 5.4.1)>
===================================================================
I have struts.jar in /web-inf/lib. I have taglib (uri and location) definitions
in web.xml.I have all the struts tld files under /web-inf. Is there anything
else I have to do?
Any help would be greatly appreciated.
Thank you.
SharmilaUpdate: I just looked up the WL version and it's 8.1 sp3
So, I guess, JSTL 1.1 (which includes jstl fn tags) is not supported by WL.... Someone correct me if I am wrong.
Thanks,
pal :) -
Hi
I am new in jsp?s custom tag development and trying to run it's example with jakarta-tomcat-4.1.30. I have hello.jsp
<%@ taglib uri="/WEB-INF/mytaglib.tld" prefix="first" %>
<HTML>
<HEAD> <TITLE>hELLO tAG</TITLE></HEAD>
<BODY bgcolor="#ffffcc"><B>My first tag prints</B>
<first:hello/></HTML>
and mytaglib.tld as
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun MicroSystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.2</jspversion>
<shortname></shortname>
<uri></uri>
<info>A simple tag library for the example</info>
<tag>
<name>hello</name>
<tagclass>HelloTag</tagclass>
<bodycontent>empty</bodycontent>
<info></info>
</tag>
</taglib>
and HelloTag.java as
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.Tag;
public class HelloTag implements Tag {
private PageContext pageContext;
private Tag parent;
public HelloTag() {
super(); }
public void setPageContext(PageContext arg0) {
this.pageContext = arg0;}
public void setParent(Tag arg0) {
this.parent = arg0;}
public Tag getParent() {
return parent;}
public int doStartTag() throws JspException {
try{
pageContext.getOut().print("This is my first Tag");
}catch(Exception e){throw new JspException("Error);}
return SKIP_PAGE; }
public int doEndTag() throws JspException {
return SKIP_PAGE;}
public void release() { }
I am getting following error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /hello.jsp(7,0) Unable to load class hello
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:712)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
Can anyone help me in running this example.an uri is not an url,
in your web.xml you should have something like
<taglib>
<taglib-uri>http://yourtaglib/taglib</taglib-uri>
<taglib-location>/WEB-INF/yourtaglibtld</taglib-location>
</taglib>
that uri should be same as in the tld.file and same as in the <%@ taglib tag -
I'm getting error message ":Unbalanced InstanceBegin tag"
When I try to update my files from template it wont upadate and gives me error at line 1 ":Unbalanced InstanceBegin tag" It just started doing this. I'm using dreamweaver 8. I tried unistalling and reinstalling and page still didn't work. This is a site with around 100 pages.
<!-- TemplateEndEditable ><! TemplateBeginEditable name="meta" -->
<!-- TemplateParam name="playstructures" type="boolean" value="true" ><!
TemplateParam name="components" type="boolean" value="true" ><!
TemplateParam name="free_standing" type="boolean" value="true" ><!
TemplateParam name="play_options" type="boolean" value="true" -->
<!-- TemplateParam name="planning" type="boolean" value="true" ><!
TemplateParam name="why_choose_us" type="boolean" value="true" -->
javascript:; ../play-structures.htm
Funscapes
> PPG 1
> PPG 2
> PPG 3
> PPG 4
> PPG 5
> PPG 6
> PPG 7
> PPG 8
> PPG 9
> PPG 10
> PPG 11
> PPG 12
Kidscapes
> PPG 13
> PPG 14
> PPG 15
> PPG 16
> PPG 17
> PPG 18
> PPG 19
> PPG 20
Totally Toddlers
> PPG 21
> PPG 22
> PPG 23
> PPG 24
> PPG 25
> PPG 26
> PPG 27
../components.htm
> Climbers
> Crawl Tubes
> Slides
> Panels
> Bridges
../free-standing.htm
> Swing Bays
> Spring Riders
> Free Standing Fun
../amenities.htm
../ada.htm
../ada.htm
> Color Options
> Safety & Surface
> Parts
> Hardware
> Assembly
> Helpful Advice
> Fundraising & Grants
> Safety
> Wood or Metal
> Ordering Info
> Durability
> Design Your Own
> Build-As-You-Can-Plan
> About Us
Dealer and Franchising
Contact Us
View Online Catalog
<!-- TemplateBeginEditable
name="body" >body<! TemplateEndEditable -->
190 Etowah Industrial Court, Canton, GA 30114
Toll free: 1-800-882-0234 | Phone: 678-880-3324 | Fax: 678-880-3325
Add Link | Sitemap | Contact Us
<!--
/* Script by: www.jtricks.com
Version: 20060314
Latest version:
www.jtricks.com/javascript/window/box.html
// Moves the box object to be directly beneath an object.
function move_box(an, box)
var cleft = -200;
var ctop = -150;
var obj = an;
while (obj.offsetParent)
cleft += obj.offsetLeft;
ctop += obj.offsetTop;
obj = obj.offsetParent;
box.style.left = cleft + 'px';
ctop += an.offsetHeight + 8;
// Handle Internet Explorer body margins,
// which affect normal document, but not
// absolute-positioned stuff.
if (document.body.currentStyle &&
document.body.currentStyle['marginTop'])
ctop += parseInt(
document.body.currentStyle['marginTop']);
box.style.top = ctop + 'px';
// Shows a box if it wasn't shown yet or is hidden
// or hides it if it is curre
function show_hide_box(an, width, height, borderStyle)
var href = an.href;
var boxdiv = document.getElementById(href);
if (boxdiv != null)
if (boxdiv.style.display=='none')
// Show existing box, move it
// if document changed layout
move_box(an, boxdiv);
boxdiv.style.display='block';
else
// Hide currently shown box.
boxdiv.style.display='none';
return false;
// Create box object through DOM
boxdiv = document.createElement('div');
// Assign id equalling to the document it will show
boxdiv.setAttribute('id', href);
boxdiv.style.display = 'block';
boxdiv.style.position = 'absolute';
boxdiv.style.width = width + 'px';
boxdiv.style.height = height + 'px';
boxdiv.style.border = borderStyle;
boxdiv.style.textAlign = 'right';
boxdiv.style.padding = '4px';
boxdiv.style.background = '#FFFFFF';
document.body.appendChild(boxdiv);
var offset = 0;
// Remove the following code if 'Close' hyperlink
// is not needed.
var close_href = document.createElement('a');
close_href.href = 'javascript:void(0);';
close_href.onclick = function()
{ show_hide_box(an, width, height, borderStyle); }
close_href.appendChild(document.createTextNode('Close'));
boxdiv.appendChild(close_href);
offset = close_href.offsetHeight;
// End of 'Close' hyperlink code.
var contents = document.createElement('iframe');
contents.scrolling = 'no';
contents.frameBorder = '0';
contents.style.width = width + 'px';
contents.style.height = (height - offset) + 'px';
boxdiv.appendChild(contents);
move_box(an, boxdiv);
if (contents.contentWindow)
contents.contentWindow.document.location.replace(
href);
else
contents.src = href;
// The script has successfully shown the box,
// prevent hyperlink navigation.
return false;
//-->
</html -
Error when using Tiles Tag Library
Hello,
I have the following page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template"
prefix="template"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles"%>
<html:html>
<tiles:insert page="/layouts/frameset.jsp" flush="true">
<tiles:put name="headerl" value="/tiles/headers/DatePersonalHeader.jsp"/>
<!-- <tiles:put name="left" value=""/> -->
<tiles:put name="body" value="/tiles/bodys/PersonalBody.jsp"/>
<tiles:put name="footer1" value="/tiles/footers/FooterGlobal.jsp"/>
</tiles:insert>
</html:html>When i run the page i get the following error :
[ServletException in:/layouts/frameset.jsp] Error - Tag Insert : No value found for attribute 'footer1'.' In JDeveloper page="/layouts/frameset.jsp" is underlined for warning and the warning says : Attribute page not defined on element tiles:insert
What is the problem ? thanks in advance !Refer
http://www.oracle.com/technology/pub/articles/vohra_tiles.html -
Error deserializing arguments, xml tag without a recognized type
I am trying to run a webservice created using Weblogic Workshop 8.1sp2 that communicates
with an ejb control. When I test in debug mode, I get the above error, specifically:
<detail>
<jwErr:jwErrorDetail xmlns:jwErr="http://www.bea.com/2002/04/jwErrorDetail/">
com.bea.wlw.runtime.core.request.RequestValidationException: Error deserializing
arguments.
Encountered an xml tag without a recognized type: the type must be declared with
an xsi:type attribute.
Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered an xml tag with
out a recognized type: the type must be declared with an xsi:type attribute.
</detail>
I am passing a Request object to the jws method (to the ejb) that has a Collection
as an instance member. This Collection references objects of another type, Param
(code for both objects below). Before passing the object, I convert the Collection
to an array of objects. When I call the operation via a java client, I get the
above message.
In Workshop, I've included the Request and Param classes as the parameter xml
and the soap style is rpc. I've tested the ejb by itself and it is working fine.
Request.java:
import java.util.*;
public class Request implements java.io.Serializable
protected Collection params=null;
public Collection getParams()
{ return params; }
public void setParams(Collection data)
{ params=data; }
Param.java:
public class Param implements java.io.Serializable
private String name=null;
private Object value=null;
public String getName()
{ return name; }
public void setName(String data)
{ name = data; }
public Object getValue()
{ return value; }
public void setValue(Object data)
{ value=data; }
Here's the code from the jws:
public class MyWS implements com.bea.jws.WebService
* @common:control
private control.PSEjbControl psEJB;
static final long serialVersionUID = 1L;
* @common:operation
* @jws:parameter-xml
* include-java-types="mypackage.Request mypackage.Param"
* @jws:protocol soap-style="rpc"
public void addData(mypackage.Request arg0) throws java.rmi.RemoteException
System.out.println("arg0 : " + arg0);
psEJB.addData(arg0);
*Note: in the server console, arg0 comes through as null when called from my client.
Here's the bit from my client:
import weblogic.jws.proxies.*;
import org.openuri.www.encodedTypes.Request;
import org.openuri.www.encodedTypes.Param;
public void go(String wsdl) throws Exception {
MyWSSoap mw = null;
mw = new MyWS_Impl().getMyWSSoap();
Request req = new Request();
Collection reqColl = new ArrayList();
Param param1 = new Param();
param1.setName("NAME");
param1.setValue("Joe Tester");
Param param2 = new Param();
param2.setName("ADDRESS");
param2.setValue("345 Test Drive");
reqColl.add(param1);
reqColl.add(param2);
Object[] obs = reqColl.toArray();
req.setParams(obs);
mw.addData(req);
Not sure if this enough to go by. Please let me know if you need more information.
Any help is really appreciated. Thanks.Hi Keith,
My only suggestion is to factor out the java.util.Collection (see the
docs here [1]) with either primitive types or XMLBeans [2].
Sorry, not much help. You might also ask your question in the workshop
[3] newsgroup.
Bruce
[1]
http://e-docs.bea.com/workshop/docs81/doc/en/integration/reference/refJavaClassConversion.html
[2]
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/xmlbeans/conXMLBeansSupportBuiltInSchemaTypes.html
[3]
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.workshop
Keith wrote:
>
Hi Bruce, thanks for the reply. I set the operation for document-style soap and
still get the deserialization exception as mentioned in my original note. Below
is the wsdl. Note: in my original note, the problematic operation was addData()
which is now named addBusinessLocation(). As always, your help is greatly appreciated.
Keith
<?xml version="1.0" encoding="utf-8"?>
<!-- @editor-info:link autogen="true" source="PublicServiceWS.jws" -->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
targetNamespace="http://www.openuri.org/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/"
xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:ope="http://www.openuri.org/">
<s:element name="addBusinessLocation">
<s:complexType>
<s:sequence>
<s:element name="arg0" type="ope:Request" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="addBusinessLocationResponse">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="getBusinessLocation">
<s:complexType>
<s:sequence/>
</s:complexType>
</s:element>
<s:element name="getBusinessLocationResponse">
<s:complexType>
<s:sequence>
<s:element name="getBusinessLocationResult" type="ope:Response" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Response" nillable="true" type="ope:Response"/>
<s:element name="repeat">
<s:complexType>
<s:sequence>
<s:element name="in" type="s:string" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="repeatResponse">
<s:complexType>
<s:sequence>
<s:element name="repeatResult" type="s:string" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string"/>
<s:complexType name="Request">
<s:sequence>
<s:element name="Params" type="ope:Collection" minOccurs="0"/>
</s:sequence>
</s:complexType>
<s:complexType name="Collection">
<s:sequence>
<s:element name="item" type="s:anyType" nillable="true" minOccurs="0"
maxOccurs="unbounded"/>
</s:sequence>
</s:complexType>
<s:complexType name="Param">
<s:sequence>
<s:element name="Name" type="s:string" minOccurs="0"/>
<s:element name="Value" type="s:anyType" minOccurs="0"/>
</s:sequence>
</s:complexType>
<s:complexType name="Response">
<s:complexContent>
<s:extension base="ope:Request">
<s:sequence/>
</s:extension>
</s:complexContent>
</s:complexType>
</s:schema>
</types>
<message name="addBusinessLocationSoapIn">
<part name="parameters" element="s0:addBusinessLocation"/>
</message>
<message name="addBusinessLocationSoapOut">
<part name="parameters" element="s0:addBusinessLocationResponse"/>
</message>
<message name="getBusinessLocationSoapIn">
<part name="parameters" element="s0:getBusinessLocation"/>
</message>
<message name="getBusinessLocationSoapOut">
<part name="parameters" element="s0:getBusinessLocationResponse"/>
</message>
<message name="repeatSoapIn">
<part name="parameters" element="s0:repeat"/>
</message>
<message name="repeatSoapOut">
<part name="parameters" element="s0:repeatResponse"/>
</message>
<message name="getBusinessLocationHttpGetIn"/>
<message name="getBusinessLocationHttpGetOut">
<part name="Body" element="s0:Response"/>
</message>
<message name="repeatHttpGetIn">
<part name="in" type="s:string"/>
</message>
<message name="repeatHttpGetOut">
<part name="Body" element="s0:string"/>
</message>
<message name="getBusinessLocationHttpPostIn"/>
<message name="getBusinessLocationHttpPostOut">
<part name="Body" element="s0:Response"/>
</message>
<message name="repeatHttpPostIn">
<part name="in" type="s:string"/>
</message>
<message name="repeatHttpPostOut">
<part name="Body" element="s0:string"/>
</message>
<portType name="PublicServiceWSSoap">
<operation name="addBusinessLocation">
<input message="s0:addBusinessLocationSoapIn"/>
<output message="s0:addBusinessLocationSoapOut"/>
</operation>
<operation name="getBusinessLocation">
<input message="s0:getBusinessLocationSoapIn"/>
<output message="s0:getBusinessLocationSoapOut"/>
</operation>
<operation name="repeat">
<input message="s0:repeatSoapIn"/>
<output message="s0:repeatSoapOut"/>
</operation>
</portType>
<portType name="PublicServiceWSHttpGet">
<operation name="getBusinessLocation">
<input message="s0:getBusinessLocationHttpGetIn"/>
<output message="s0:getBusinessLocationHttpGetOut"/>
</operation>
<operation name="repeat">
<input message="s0:repeatHttpGetIn"/>
<output message="s0:repeatHttpGetOut"/>
</operation>
</portType>
<portType name="PublicServiceWSHttpPost">
<operation name="getBusinessLocation">
<input message="s0:getBusinessLocationHttpPostIn"/>
<output message="s0:getBusinessLocationHttpPostOut"/>
</operation>
<operation name="repeat">
<input message="s0:repeatHttpPostIn"/>
<output message="s0:repeatHttpPostOut"/>
</operation>
</portType>
<binding name="PublicServiceWSSoap" type="s0:PublicServiceWSSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="addBusinessLocation">
<soap:operation soapAction="http://www.openuri.org/addBusinessLocation"
style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="getBusinessLocation">
<soap:operation soapAction="http://www.openuri.org/getBusinessLocation"
style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="repeat">
<soap:operation soapAction="http://www.openuri.org/repeat" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="PublicServiceWSHttpGet" type="s0:PublicServiceWSHttpGet">
<http:binding verb="GET"/>
<operation name="getBusinessLocation">
<http:operation location="/getBusinessLocation"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
<operation name="repeat">
<http:operation location="/repeat"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
</binding>
<binding name="PublicServiceWSHttpPost" type="s0:PublicServiceWSHttpPost">
<http:binding verb="POST"/>
<operation name="getBusinessLocation">
<http:operation location="/getBusinessLocation"/>
<input>
<mime:content type="application/x-www-form-urlencoded"/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
<operation name="repeat">
<http:operation location="/repeat"/>
<input>
<mime:content type="application/x-www-form-urlencoded"/>
</input>
<output>
<mime:mimeXml part="Body"/>
</output>
</operation>
</binding>
<service name="PublicServiceWS">
<port name="PublicServiceWSSoap" binding="s0:PublicServiceWSSoap">
<soap:address location="http://localhost:8010/WebService/PublicServiceWS.jws"/>
</port>
<port name="PublicServiceWSHttpGet" binding="s0:PublicServiceWSHttpGet">
<http:address location="http://localhost:8010/WebService/PublicServiceWS.jws"/>
</port>
<port name="PublicServiceWSHttpPost" binding="s0:PublicServiceWSHttpPost">
<http:address location="http://localhost:8010/WebService/PublicServiceWS.jws"/>
</port>
</service>
</definitions>
Bruce Stephens <[email protected]> wrote:
Hi Keith,
As a quick test, you might try changing the protocol style to use
doc/lit (@jws:protocol soap-style="document") to see if this provides
another view on the real issue.
Could you post the generated WSDL?
Thanks,
Bruce
Keith wrote:
I am trying to run a webservice created using Weblogic Workshop 8.1sp2that communicates
with an ejb control. When I test in debug mode, I get the above error,specifically:
<detail>
<jwErr:jwErrorDetail xmlns:jwErr="http://www.bea.com/2002/04/jwErrorDetail/">
com.bea.wlw.runtime.core.request.RequestValidationException: Errordeserializing
arguments.
Encountered an xml tag without a recognized type: the type must bedeclared with
an xsi:type attribute.
Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered anxml tag with
out a recognized type: the type must be declared with an xsi:type attribute.
</detail>
I am passing a Request object to the jws method (to the ejb) that hasa Collection
as an instance member. This Collection references objects of anothertype, Param
(code for both objects below). Before passing the object, I convertthe Collection
to an array of objects. When I call the operation via a java client,I get the
above message.
In Workshop, I've included the Request and Param classes as the parameterxml
and the soap style is rpc. I've tested the ejb by itself and it isworking fine.
Request.java:
import java.util.*;
public class Request implements java.io.Serializable
protected Collection params=null;
public Collection getParams()
{ return params; }
public void setParams(Collection data)
{ params=data; }
Param.java:
public class Param implements java.io.Serializable
private String name=null;
private Object value=null;
public String getName()
{ return name; }
public void setName(String data)
{ name = data; }
public Object getValue()
{ return value; }
public void setValue(Object data)
{ value=data; }
Here's the code from the jws:
public class MyWS implements com.bea.jws.WebService
* @common:control
private control.PSEjbControl psEJB;
static final long serialVersionUID = 1L;
* @common:operation
* @jws:parameter-xml
* include-java-types="mypackage.Request mypackage.Param"
* @jws:protocol soap-style="rpc"
public void addData(mypackage.Request arg0) throws java.rmi.RemoteException
System.out.println("arg0 : " + arg0);
psEJB.addData(arg0);
*Note: in the server console, arg0 comes through as null when calledfrom my client.
Here's the bit from my client:
import weblogic.jws.proxies.*;
import org.openuri.www.encodedTypes.Request;
import org.openuri.www.encodedTypes.Param;
public void go(String wsdl) throws Exception {
MyWSSoap mw = null;
mw = new MyWS_Impl().getMyWSSoap();
Request req = new Request();
Collection reqColl = new ArrayList();
Param param1 = new Param();
param1.setName("NAME");
param1.setValue("Joe Tester");
Param param2 = new Param();
param2.setName("ADDRESS");
param2.setValue("345 Test Drive");
reqColl.add(param1);
reqColl.add(param2);
Object[] obs = reqColl.toArray();
req.setParams(obs);
mw.addData(req);
Not sure if this enough to go by. Please let me know if you need moreinformation.
Any help is really appreciated. Thanks. -
Errors to use JSTL Tag in JDeveloper 10g
Hi, folks in JDeveloper:
I have a problem to use JSTL in JDeveloper 10g.
In jsp file: detail.jsp, I include tag library like this:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
When I compile/run, the system complain the following errors:
Error(4): java.io.FileNotFoundException: /http:/java.sun.com/jstl/core
Error(4): Unable to load taghandler class: http://java.sun.com/jstl/core
I already put standard.jar and jstl.jar file in WEB-INF/lib directory. I use jakata-struts jstl 1.0
Anybody know how to fix that?
Many thanks.
Zhiyi Li
Project: C:\MZhongProject\WFUBMC\MESA\genelist\code\Catalog\ViewController\ViewController.jpr
C:\MZhongProject\WFUBMC\MESA\genelist\code\Catalog\ViewController\public_html\detail.jsp
Error(4): java.io.FileNotFoundException: /http:/java.sun.com/jstl/core
Error(4): Unable to load taghandler class: http://java.sun.com/jstl/core
C:\MZhongProject\WFUBMC\MESA\genelist\code\Catalog\ViewController\public_html\banner.jsp
Error(3): java.io.FileNotFoundException: /http:/java.sun.com/jstl/core
Error(3): Unable to load taghandler class: http://java.sun.com/jstl/coreUser,
You should configure the taglibs using the project->libraries option in JDev. If that doesn't help, try adding the taglib URI mappings to web.xml as detailed [url http://forum.java.sun.com/thread.jspa?threadID=650000&messageID=3823804]here
John
Maybe you are looking for
-
I have to remove and reinstall Flash Player 11.3 everyday! How can I fix it?
I use Firefox and IE. Everyday I have to remove and reinstall flash player to be able to use it. Every day I receive the message that I don't have F player installed and I have to download it. I check add-ons and I can't find it there but it's instal
-
Help with creating a template.
I'm in process of creating a survey, both with check boxes and also a narrative section. There are no templates for creating surveys (apart from an emplyee survey or assessment) and I've created a basic template. Issue I am having is how do I conve
-
PO line item copy to new PO doc.
Hi , one question PO line item copy to new PO doc. if i made on PO docuemnt as bleow 10 Item1 20unit 20 Item2 10 unit 30 Intem3 20 Uni and when I need to create new PO , if i wanna creat PO inclue only line time 10 ,20 how can i do it? co
-
VA01 - Error determination for condition MWST
Hi experts, I have a problem in the transaction VA01 since the system is determining the value of the condition MWST wrongly. Material - Tax data: Client - Tax data: VK12 - MWST tax condition: However, when I create the sales order the system determi
-
My window shrinks when I open an app
I got a problem with my Iphone window, SOMETIMES, (I say sometimes because to annoy me, it does not happen all the time, but when it does happens, a restart does not fix it, I have to put my phone in "safe mode" and then back on "normal mode", then i