Creation of triggers using CFQUERY tag is giving error
Hi,
I am creating triggers and stored procedure on ORACLE data
base using <CFQUERY>.
<CFQUERY DATASOURCE="CRM">
create or replace trigger AWC_ACCOUNTINGPERIODSID_TRI
before insert on AWC_ACCOUNTINGPERIODS
for each row
begin
select AWC_ACCOUNTINGPERIODSID_SEQ.nextval into :new.AP_ID
from dual;
end;
</CFQUERY>
But the created trigger is not compiled, it is giving the
following error
"Line # = 1 Column # = 6 Error Text = PLS-00103: Encountered the
symbol "" when expecting one of the following: begin case declare
exit for goto if loop mod null pragma raise return select update
while with <an identifier> << close current delete
fetch lock insert open rollback savepoint set sql execute commit
forall merge pipe The symbol "" was ignored."
If I edit that trigger in enterprise manager console by
pressing space and compile that, it is working fine with out any
error. If i run the above statement in sql *plus, It is working
fine with out any error. Can you please tell me why this is
happening if i run it using cfquery tag and also the possible
solutions.
Thanks in advance,
Vinod
I can't tell you why your particular trigger is failing, but
here is some "typical" reasons from Oracle's metalink.
Common reasons for PLS-00103
Error Summary
PLS-00103 Encountered the symbol "%s" when expecting one of
the following (Oerr
LS.103)
Error Details
~~~~~~~~~~~~~
Error: PLS-00103
Text: Encountered the symbol "%s" when expecting one of the
following:
Cause: This error message is from the parser. It found a
token
(language element) that is inappropriate in this context.
Action: Check previous tokens as well as the one given in the
error message. The line and column numbers given in the
error
message refer to the end of the faulty language construct.
PLS-00103 errors can often be difficult to localize what the
error is so here are some
common reasons for PLS-00103 errors..
A very common reason for PLS-00103 is when a reserved word is
used, with a reserved word
means words that names an oracle object or a built in
procedure, for example MOD, ABS,
TABLE, VIEW etc..
When trying to use SQL*PLUS commands in PL/SQL procedures,
like SPOOL, SET and other
commands that belongs to SQL*PLUS can result in this error.
Using parameter declaration at the IN/OUT clause in a
procedure, this works in versions
prior to 8.0.4, but it just ignored the declaration.
Using DDL commands in PL/SQL will fail in PLS-00103, the way
to use DDL commands is
to build a procedure in dynamic sql.
When creating package specification and a package body, a
PLS-00103 error will occur
if there is no slash, '/', after the package specification.
Phil
Similar Messages
-
PDF Creation for Smartform having color graphic is giving error in opening
Hi All,
I have a Smart form with a color Graphic of company logo. This is being displayed properly in print preview and in print documents.
The requirement was to convert this to PDF and send it as mail attachment, I am using the SPOOL ID creation approach. The mail is being sent properly with the attachment and when this is being opened, it says there is some error. The page having the Graphic is not being displayed, but the other pages where this graphic is not there are being displayed properly.
I have checked the SCOT settings they are correct, for SAP Scripts/Smart forms the format is PDF only.
Please provide me any inputs on this. All inputs are rewarded.
Thanks & Regards,
Goutham.Hi Neelima,
In the user-profile maintain LOCL as default printer
Control Parameters for the OTF Generation
MOVE : c_x TO lst_ctrl_params-no_dialog, " Do not need a Dialog
space TO lst_ctrl_params-preview, " No Preview
c_device_prnt TO lst_ctrl_params-device, " PRINTER - Needs to be passed
OTF Data is obtained for the smartform if this parameter is set
c_x TO lst_ctrl_params-getotf,
Output Options
c_x TO lst_output_options-tdnoprev, " No Print-Preview
c_x TO lst_output_options-tdnewid, " Generates New-ID for spool
space TO lst_output_options-tdimmed, " No Immediate Priting
c_device_locl TO lst_output_options-tddest. " LOCL: Default Printer
FM of the Smartform: ZJ_FORM_1180
CALL FUNCTION l_fmname
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = lst_ctrl_params " Control parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = lst_output_options " Output Options
user_settings = space " WF-BATCH - Setting DO NOT CHANGE
wa_1180 = lst_1180 " Project Data
i_form_amounts = li_measure " Funded Prgrm Data
g_tot_req_budget = l_tot_req_bud " Total Requested Budget Amt
g_req_fnd_adj = l_req_fnd_adj " Requested Funding Adjustment Amt
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = lst_job_output_info " Spool ID is obtained here
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
RAISE excp_no_smartform_output.
ENDIF.
Get the OTF Data - getotf is set to X, then the OTF data is obtained here.
As the parameter is not set we do not require this
MOVE lst_job_output_info-otfdata TO li_otf_data.
Get the spool id number. In the spool the data is in OTF format and from
which the PDF format of the data is obtained.
READ TABLE lst_job_output_info-spoolids INTO l_spoolid INDEX 1.
Convert the OTF to PDF by using the FM: CONVERT_OTFSPOOLJOB_2_PDF
Just pass the sppol id number to src_spoolid, in tables u get the PDF.
Please let me know if further details are required from my side.
Regards,
Goutham. -
Hi ,
I am using Oracle report 10G
And trying to create report with dynamic table
SELECT &COL1, &COL2
FROM &TAB
If I put this on data model it gives below error
ORA-00936: missing expression
==> from
Can anybody advise to solve this issue.
Regards,
BrajeshLook in the Reports Builder Help:
If you want to use lexical references in your SELECT clause, you should create a separate lexical reference for each column you will substitute. In addition, you should assign an alias to each lexical reference.
Does adding the column alias solve the problem? -
How to use nested tag in Struts
Hi..
Can any one guide me how to use nested tag in Struts. So far i already tried bean tag with no error but when i try to use nested tag i got error like
javax.servlet.ServletException: Cannot find bean: "" in any scope
Below are my class:
action class
session.setAttribute ("MyDetailList", detailList);
JSP page
<logic:iterate id="list" name="MyDetailList">
Company ID : <bean:write name="list" property="companyID" />
</logic:iterate>
For bean tag, i got no error at all and below are my code for nested tag
action class
session.setAttribute ("MyDetailList", detailList);
JSP Page
<nested:nest property="MyDetailList">
Make : <nested:text property="make"/>
Car ID : <nested:text property="carID"/>
</nested:nest>
When i run the code, i got error message
javax.servlet.ServletException: Cannot find bean: "" in any scope
Any body can help me?
zulwhat am I doing wrong?You will notice above that I mentioned
YOU CAN'T USE CUSTOM TAGS AS ATTRIBUTES TO OTHER CUSTOM TAGS
(was that loud enough for you to notice this time)?
Try
<html:text styleId="instruction" styleClass="text" size="50" name="instruction" property="value"/>
//or
<html:text styleId="instruction" styleClass="text" size="50" property="instruction" value="<%= instruction.getValue() %>"/>
better alternative: populate your formbean with your action and just have:
<html:text styleId="instruction" styleClass="text" size="50" property="instruction"/>
If you set the "instruction" property of your formBean in the action, the value will be automagically reflected here.
Cheers,
evnafets -
I can't use JSTL tag for read rss.
I want to read rss from another web. but I can't read rss . I use Netbeans and I add JSTL Library already. I can use forEach tag but every time when I use xml tag it show error. This is my code for read rss. I don't know how to read rss with JSTL tag please help me.
<h6><!-- Filename: ShowStudents.jsp -->
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<HTML>
<BODY>
<c:import var="xmlDoc" url="http://www.manager.co.th/RSS/Home/Breakingnews.xml"/>
<x:parse var="parsedDocument" xml="${xmlDoc}"/>
<table>
<tr>
<th>Title : </th>
<th>Link : </th>
</tr>
<x:forEach select="$parsedDocument/channel/item"> // This code I ever been change to $parsedDocument/rss/channel/ and $parsedDocument/rss/channel/title ,but it show same error.
<tr>
<td> <x:out select="title" /> </td>
<td> <x:out select="link" /> </td>
</tr>
</x:forEach>
</table>
</BODY>
</HTML></h6>
when I run this code it show error like this. how to read rss with JSTL tag please help me.
<h6>
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:527)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Filter.ThaiRequest.doFilter(ThaiRequest.java:38)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.test_jsp._jspService(test_jsp.java:101)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Filter.ThaiRequest.doFilter(ThaiRequest.java:38)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
root cause
org.xml.sax.SAXParseException: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSource(ParseSupport.java:227)
org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSourceWithFilter(ParseSupport.java:193)
org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseReaderWithFilter(ParseSupport.java:199)
org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseStringWithFilter(ParseSupport.java:206)
org.apache.taglibs.standard.tag.common.xml.ParseSupport.doEndTag(ParseSupport.java:138)
org.apache.jsp.test_jsp._jspx_meth_x_005fparse_005f0(test_jsp.java:150)
org.apache.jsp.test_jsp._jspService(test_jsp.java:80)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Filter.ThaiRequest.doFilter(ThaiRequest.java:38)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
</h6>
Edited by: user12864851 on 15 ม.ค. 2554, 22:59 น.Ok, I did a bit more experimenting, and web searching, and found you are the victim of the UTF-8 BOM bug.
Basically the java UTF-8 reader does not recognise a BOM at the start of a UTF-8 stream, and it has to be discarded manually.
For details: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
Here is a 'fixed' JSP for you.
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<HTML>
<BODY>
<c:import var="xmlDoc"
url="http://www.manager.co.th/RSS/Home/Breakingnews.xml"
charEncoding="UTF8" />
<%--
JSTL hack to work around the UTF-8 BOM bug in JDK.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
--%>
<c:set var="testChar" value="fn:substring(xmlDoc, 0, 1)}"/>
<c:if test="${testChar != '<'}">
<c:set var="xmlDoc" value="${fn:substring(xmlDoc, 1, fn:length(xmlDoc))}" />
</c:if>
<table>
<tr>
<th>Title :</th>
<th>Link :</th>
</tr>
<x:parse var="parsedDocument" doc="${xmlDoc}" />
<x:forEach select="$parsedDocument/rss/channel/item">
<tr>
<td><x:out select="title" /></td>
<td><x:out select="link" /></td>
</tr>
</x:forEach>
</table>
</BODY>
</HTML>cheers,
evnafets -
How to embed jnlp file into html page using object tag
hi everyone,
i have written one jnlp file like this.
<?xml version="1.0" encoding="utf-8" ?>
<!-- JNLP file for Demo applicaion -->
<jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
<information>
<title>Demo Application</title>
<vendor> </vendor>
<description>Sample Demo Application</description>
<offline-allowed/>
</information>
<security/>
<resources>
<j2se version="1.3+" />
<jar href="common.jar" main="true" download="eager" />
<jar href="classes12.jar" download="eager" />
<jar href="toplink.jar" download="eager"/>
<package name="com.applet.*" part="applet" recursive="true"/>
</resources>
<applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
</jnlp>
i am trying embed that jnlp file using object tag like
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
<PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
</OBJECT>
but i am not able to load the applet using Web Start.
Can anyone please help me. This is very Urgent for me.
Thanks & Regards,
Shiva.thanks.
i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
<PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
<PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
<PARAM NAME="NAME" VALUE="grid" >
<PARAM NAME="type" VALUE="application/x-java-applet">
<PARAM NAME= "cache_option" VALUE ="no">
</OBJECT>
now what i need to do is
i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
Webstart always open a new application windows.
I need to run an Applet embedded within a web page within a browser.
Is there a way to still use Webstart? -
I would like to use cf tags inside cfscript, for example
cfquery and cflocation. What is the best way to achieve this.
CheersHere is the way to use cfquery within cfscript
<cfoutput>
<CFSCRIPT>
SQLString = "<!---Your Query Here --->";
DATASOURCE = "<!---Datasource here --->";
checkUser = CFQUERY(SQLString: SQLString,DATASOURCE:
DATASOURCE);
if (checkUser.recordCount neq 0)
WriteOutput("Welcome Back, " & checkUser.first_name);
else
WriteOutput("Your UserName is Wrong.. try again!");
</CFSCRIPT>
<cffunction name="CFQUERY" access="public"
returntype="query">
<cfargument name="SQLString" type="string"
required="yes">
<cfargument name="Datasource" type="string"
required="yes">
<cfargument name="dbType" type="string" default="">
<cfquery name="RecordSet"
datasource="#arguments.Datasource#" dbtype="#arguments.dbType#">
#preserveSingleQuotes(arguments.SQLString)#
</cfquery>
<cfreturn RecordSet>
</cffunction>
</cfoutput>
thanks
Satyajit Behera
MindfireSolutions,
Bhubaneswar -
Why we use attribute tag ?
In xml
<attribute name="name" value="12"/>
Actually wat does it mean??
Need help..I am not sure whether you are asking about a generic xml file.
Here I am giving the way to use attribute tag in a repository definition file.
Use 1:
<property name="MyProperty" column-name="my_column" property-type="org.package.src.MyPropertyDescriptor" display-name-resource="My Property">
<attribute name="MyClass" bean="/com/package/module/MyComponent"/>
</property>
Here, in this case,a custom property descriptor (MyPropertyDescriptor) is used.
Inside the MyPropertyDescriptor, this attribute's name and value can be used as the arguments for setValue(String pAttributeName, Object pValue).
Use 2:
Setting default value for specific properties of type timestamp. The below code sets the value to the current time by default.
<property name="creation_dt" data-type="timestamp" column-name="creation_dt">
<attribute name="useNowForDefault" value="true"/>
</property>
Use 3:
The well-known attribute 'useCodeForValue' for enumerated properties.
<property name="relToPolicyHolder" data-type="enumerated" column-name="policy_holder_rltn_ind">
<attribute name="useCodeForValue" value="false"/>
<option code="0" value="self"/>
<option code="1" value="spouse"/>
<option code="2" value="dependent"/>
</property>
Use 4:
To make a property non-editable through ACC, set 'uiwritable' attribute to false.
<property name="vendorNbr" column-name="vendor_nbr" data-type="string" display-name-resource="Vendor Number">
<attribute name="uiwritable" value="false" />
</property>
For more details, refer:
http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGRepositoryGuide/html/s0712assigningfeaturedescriptorvalues01.html
Repository guide : http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGRepositoryGuide/html/index.html
Thanks,
Gopinath Ramasamy
Edited by: Gopinath Ramasamy on Nov 29, 2012 6:21 PM -
Problem creating db function via cfquery tag
I am trying to create a database UDF using the coldfusion
cfquery tag. My query is pasted below. The error I get is:
"Incorrect syntax near 'go'.. "
Is there a way of running multiple sql commands in a cfquery
tag?
<cfquery name="createUDFcheckPermissions"
datasource="#arguments.extranetBuilderDSN#">
use bungi;
go
CREATE FUNCTION dbo.checkPermissions(@ItemPermissionsList
varchar(8000),@UserPermissionsList varchar(8000))
RETURNS bit
AS
BEGIN
declare @Return bit
declare @Value varchar(8000)
set @Return = 1
set @ItemPermissionsList = @ItemPermissionsList + ','
While (Charindex(',',@ItemPermissionsList)>0)
Begin
Set @Value =
ltrim(rtrim(Substring(@ItemPermissionsList,0,Charindex(',',@ItemPermissionsList))))
if (@Value!=null AND @Value!='')
begin
set @return = case WHEN
Charindex(@Value,@UserPermissionsList) > 0 THEN @return ELSE 0
END
END
Set @ItemPermissionsList =
Substring(@ItemPermissionsList,Charindex(',',@ItemPermissionsList)+1,len(@ItemPermissions List))
End
Return @Return
END
go
GRANT EXECUTE ON [dbo].[checkPermissions] TO [sqlaccount]
GRANT EXECUTE ON [dbo].[checkPermissions] TO [sqlbungi]
</cfquery>> <cfquery name="createUDFcheckPermissions"
> datasource="#arguments.extranetBuilderDSN#">
> use bungi;
Is this necessary? Does the DB user you're using for the DSN
have
permissions to any more than one DB?
Usually even if the user does, you'd specify the specific DB
when
name-spacing the object you're referencing, via some
variation of
[db][user][object name] or something like that, wouldn't you?
> go
I think you'll find this is is a client directive, not a DB
server
directive. It tells the DB client that you copy and pasted
this from to
execute the SQL. It shouldn't be in SQL you're sending to the
DB server
via CF.
> GRANT EXECUTE ON [dbo].[checkPermissions] TO
[sqlaccount]
> GRANT EXECUTE ON [dbo].[checkPermissions] TO [sqlbungi]
Put these two in separate, subsequent <cfquery> calls.
Adam -
CFQUERY tag adds one more ' automatically
I am using Coldfusion MX and have some code:
<cfset sqlstring = "select * from USERS WHERE
USER_ID='up2002'">
<CFQUERY datasource="#data_source_name#"
name="GetUserInfo">
#sqlstring#
</CFQUERY>
And I got error message:
Error Executing Database Query.
[Macromedia][Oracle JDBC Driver][Oracle]ORA-00933: SQL
command not properly ended
SQL select * from NASTEP.USERS WHERE USER_ID=''up2002''
DATASOURCE DB_TRAINING
VENDORERRORCODE 933
SQLSTATE HY000
The CFQUERY tag convert
'up2002' to
''up2002'' automatically.
Can somebody help? Thanks!quote:
Originally posted by:
JaredJBlackburn
Using the cfqueryparam tag solves this problem and,
supposedly, also offers some performance/efficiency enhancements.
<cfquery>
SELECT *
FROM NASTEP.USERS
WHERE USER_ID = <cfqueryparam cfsqltype="CF_SQL_VARCHAR"
value="up2002">
</cfquery>
So Jared, could you apply this solution to the original
problem where the the sql is a variable? What exactly does the
cfset look like?
cfqueryparam has it's place, but, I am not sure this is one
of them. -
How to get the values of an Array using JSP Tags
Hey guys,
I need some help. I've splited a String using
fn:split(String, delim) where String = "1,2,3,4" and delim is ,
This method returns an Array of splited Strings. how do i get the values from this array using jsp tags. I don't wanna put java code to achive that.
Any help would be highly appreciated
ThanksThe JSTL forEach tag.
In fact if all you want to do is iterate over the comma separated list, the forEach tag supports that without having to use the split function.
<c:set var="list" value="1,2,3,4"/>
<c:forEach var="num" items="${list}">
<c:out value="${num}"/>
</c:forEach>The c:forTokens method will let you do this with delimiters other than a comma, but the forEach tag works well just with the comma-delimited string. -
How can I use "Family Sharing" without giving details of my credit or debit card? I do not want to give my cards data, I have always used iTunes prepaid cards.
Hi Saramos,
When setting up Family Sharing you must have a credit or debit card as your payment method. See this article for reference -
Family purchases and payments
When a family member makes a purchase it will be billed to any gift or store credit that they have first. If none exists it will be billed to you.
As the family organizer, you may not set your billing method for purchases to anything other than a credit or debit card. If you have a store credit such as from pre-paid cards, it may not be shared with other family members. See this article for reference -
How iTunes Store purchases are billed
Thanks for using Apple Support Communities.
Best,
Brett L -
How can I use "Family Sharing" without giving details of my credit or debit card? I do not want to give my cards data, I have always used iTunes prepaid cards.
Hi Saramos,
When setting up Family Sharing you must have a credit or debit card as your payment method. See this article for reference -
Family purchases and payments
When a family member makes a purchase it will be billed to any gift or store credit that they have first. If none exists it will be billed to you.
As the family organizer, you may not set your billing method for purchases to anything other than a credit or debit card. If you have a store credit such as from pre-paid cards, it may not be shared with other family members. See this article for reference -
How iTunes Store purchases are billed
Thanks for using Apple Support Communities.
Best,
Brett L -
How to use HTML Tags in Smartforms
Hi,
Can you please help me out in knowing how to use HTML tags in Smartforms,
suppose i want to display some text in BOLD i should use the tag </b> as shown
</b> Header Information <b>
regards
RanveerHi Ranveer ,
check this following links,
hope this wil helps you
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf">check this link,to know abt HTML in smartforms</a>
rgds,
shan -
Error when run a simple sample using jsp tag
When i run a jsp using jsp tag, the tomcat gave me the following information:
Resolve entity failed-//Sun Microsystems,Inc.//DTD JSP Tag Library 1.2//EN http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
My tld file is:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>sample</short-name>
<uri>WEB-INF/sampleTag</uri>
<display-name>SampleTag</display-name>
<description>Sample TLD</description>
<tag>
<name>time</name>
<tag-class>com.sample.taglib.TimeTag</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>
Anybody can tell me why?
Thanks!!!It's strange bacause DTD is available under given address.
Which JSP version are you using?
Do you have any other tld file, which uses the same DTD version? Do tags define in it work properly?
Maby try to use 1.1 version of DTD?
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">But remember than version 1.1 has another node names (see http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd).
Maybe you are looking for
-
Use the value of a field as column-name of a dynamic table
Hi All I have the following situation: a) Internal table TB_ORDER_CONDITION ==> data: tb_order_condition type standard table of bapicond. sample of the internal table TB_ORDER_CONDITION: CONT_TYPE # CONDVALUE# CONDBASEVAL ZR00 #
-
HT4528 In App Store,.My purchased items won't open!!!!!
I have a iPad, and a Brand New iPhone 4 I got just today 10-16-2012...:( and I can not see none of my purchased items,...my son and girl iPhones do the same thing,...my App Store opens fine,..just none of the apps I have paid for shows,..be ok if I c
-
Error Message when converting to pdf
When I try to convert a file into pdf with different fonts I get the following error message: cannot find or create the font ___________. Some characters or print may not display correctly. It won't let me bold, use italics regardless if I use Times
-
Password to install Flash Player?
I'm signed in to my Adobe account and in the middle of installing an upgrade to Adobe Flashplayer and it is prompting me for a password. Won't accept my Adobe password. What password is it looking for? Apple?
-
Standyby problem and best setup
Hi hope someone can help I gave the following setup :- P4 3.2GHZ 2 x 512MB Transcend Memory (Transcend (TS64MLD64V4F3) (SEC K4H560838D-TCCC) 1 Seagate 80GB SATA Drive (SER1) 1 NEC 2510A DVD Writer (IDE 1 master) 1 CDRW (IDE 2 Master) 1 Maxtor IDE 80G