Escape codes for substring and bold????
i am writing a servlet to process a form i made with HTML.
The servlet works with the form data and sends an e-mail.
I use escape characters for returns, tabs and stuff like that. Is there a code to BOLD or SUPERSCRIPT a peice of the output?
THANKS!
The HTML code for bold is <b>bold</b>, if that's what you were asking. And there's <sub> too. If you weren't asking that, what were you asking?
Similar Messages
-
Example codes for each and every class in API
hi,
Is there any place where i can get example code for eacha and every class in java API.
for eample...if i wanna find sample codes for all the clases in java.lang.*
please let me know ASAP.
thanks in advanceTry this
http://www.javaalmanac.com/egs/
It's almost complete, but you could help mr. Patrick Chan to write more samples for the few classes left in the Java API... -
Can you send a code for iTunes and have it still work
Can you send a code for iTunes and have it still work
Did you get this in an email from Apple? Are there instructions in the email?
Typically the way that you redeem a gift card is to go to either the app store or iTunes - go to the featured tab in the app store or the music tab in iTunes - swipe to the bottom of the screen. Tap on Reedem at the bottom and go from there.
OK. I'm a little dense tonight. Now I get it. Like Meg said, you will know soon enough.
Message was edited by: Demo -
Language codes for 'english' and 'english-2' must differ?
I am trying to build my project but as I do I get the following pop up: Compiler: Language codes for 'english' and 'english-2' must differ. What do I need to change?
You have added a language to your project which you don't need. Look in the outline view at the bottom for the folder called langauges, then delete the second one. Both will be English and this cannot be the case on a DVD - the player will not know which assets to use on a menu if there are two langauges the same.
The languages are used when you want to create a disc that will display the correct menu backgrounds when used in players in different countries - the DVD player settings will have a language set up, and the DVD will use the appropriate language files to construct the menus accordingly. -
why isn't there yet an available p2p embeded code for voip and video conference in Firefox??
So, the upload time will vary on internet connection. If there is an issue with how fast it is uploaded you can check if prefetching is turned on, but this does not really affect uploading [https://developer.mozilla.org/en-US/docs/Controlling_DNS_prefetching Controlling DNS prefetching]
If you search for solutions, you will see a bunch of tweaks as well that may be helpful to your specific computer. [[Upgrade your graphics drivers to use hardware acceleration and WebGL]] to make sure you are all up to date as well. -
LSMW: Process code for DEBMDM and CREMDM
Hi Can anyone tell me the process code for DEBMDM and CREMDM? I would like to use the IDOCs for uploading master data information.
If you do not know the function module can you tell me what function module each one calls?
Thanks,
S.Hi you have to split this idoc into ADRMAS and CREMAS, not possible to upload CREMDM directly to Sap.
Cheers
Antonio -
How to write code for totals and subtotals in alv programing?
how to write code for totals and subtotals in alv programing?
hi,
1. <u><b>TOTAL.</b></u>
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm
2. <u><b>How do I add subtotals</b></u>
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
Regards
Anver -
Definig tax codes for sales and procedure
Hi,
I am getting an error in definig tax codes for sales and procedures.It's asking for Tax Jurisdiction.But can't accept whatever I enter.Please advice.Check availability at SPRO-Financial Accounting (New)-Tax on Sales/Purchases-Basic Settings-Specify Structure for Tax Jurisdiction Code OR Define Tax Jurisdictions
Srinivas -
Example code for each and every class in java API
hi,
Is there any place where i can get example code for eacha and every class in java API.
for eample...if i wanna find sample codes for all the clases in java.lang.*
please let me know ASAP.
thanks in advanceCrossposted here: http://forum.java.sun.com/thread.jsp?thread=570264&forum=54&message=2820774
-
Lanuage codes for 'english' and 'english-2' must differ ERROR
Hello, I'm trying to burn a single layer DVD for a clent of mine and whenever I pressthebuiold/format button a error that states: (lanuage codes for 'english' and 'english-2' must differ) pop up. I have been using DVD studio for some time now and have never ran into this. I don't belive I have changed any settings. anyone have any answers?
thank you for your time
MikeHi Mike
This is a common problem. You've added a second language by mistake and it's the same as the 1st one.
Look at the bottom of your outline and you'll see "English" and "English-1". Delete "English-1" and re-build. -
Escape codes for laser printer Kyocera FS-3920dn in reports 6i
Hi,
I use many reports for printing on laser printer Kyocera FS-3920DN. But now I need print some reports on special performed paper. For this we added 1 paper tray to printer ( Now we have 2 trays in printer ). How can I define for new reports which tray have to use ??? I wish to specified for report2.rep to use automaticly tray 2. Its a way through PRT file use escape codes ?? Have you any experience pls??In the report itself you can use:
SRW.SET_PRINTER_TRAY('tray');
see the online help.
We do it differently, though. Our printers have 2 trays, one with blank paper and one with pre-printed logo paper.
On each PC there are two printers defined (PRINTER_BLANk and PRINTER_LOGO). They point to the same printer, just a different tray. -
XML escape sequences for brackets and xmltype.extract
G'day gang, I'm hoping somebody would be kind enough to help me with the following query please.
I have a web service that is returning the following XML stream into an XMLType in the database:
<OutOfStockAdviceResponse xmlns="http://abc.org/abcWebServices">
<OutOfStockAdviceResult>
& lt;Response& lt;ResponseCode& gt;0& lt;/ResponseCode& gt;
& lt;ResponseMessage& gt;Successful& lt;/ResponseMessage& gt;
& lt;/Response& gt;
</OutOfStockAdviceResult>
</OutOfStockAdviceeResponse>You'll note the & lt; and & gt; characters (note to display these strings in OTN I've had to add a space between the & and the lt; or gt;. The spaces don't actually occur in the real XML data coming back).
What's odd about this XML stream coming back is it is mixing the use of the XML angle brackets with the escape character equivalents (eg. & lt; and & gt;) half way through the XML stream. Is this valid for an XML stream to do this? Any idea what would cause this? Is it possible the source is creating 2 separate XML streams using different character sets and then concatenating them to get this result?
The reason I'm asking is I'm attempting via PL/SQL to extract the ResponseCode and ResponseMessage tags with the following code:
v_response_code := XMLType.extract(v_response,
'/OutOfStockAdviceResponse/OutOfStockAdviceResult/Response/ResponseCode/text()',
'xmlns="http://abc.org/abcWebServices"').getnumberval;
v_response_msg := XMLType.extract(v_response,
'/OutOfStockAdviceResponse/OutOfStockAdviceResult/Response/ResponseMessage/text()',
'xmlns="http://abc.org/abcWebServices"').getstringval;Both calls are failing with:
ORA-30625: method dispatch on NULL SELF argument is disallowedCan anybody point me in the right direction for solving this issue? Is there a way to get the xmltype.extract function to recognize the different character encoding schemes (if they do indeed actually exist)?
Any help appreciated.
CM.
PS. Apologize for the weak subject line.Chris
Since that Serviceis actually returning the escaped representation of '<' and '>' inside OutOfStocAdviceResult, the XML Parser considers that whole block of text to be simply a text node child the parent element, not valid XML. Hence the result of your XPath expressions is null and you get the ORA-30625 when you try to invoke the getNumberVal() and getStringVal() methods, which is the PL/SQL equivilant of a Java Null Pointer Exception.
You can solve it as follows...
set define off
set serveroutput on
declare
v_response xmltype;
v_response_code number(4);
v_response_msg varchar2(64);
v_xmltext varchar2(256);
v_OutOfStockResponse xmltype := xmltype(
'<OutOfStockAdviceResponse xmlns="http://abc.org/abcWebServices">
<OutOfStockAdviceResult>
& lt;Response& gt;& lt;ResponseCode& gt;0& lt;/ResponseCode& gt;& lt;ResponseMessage& gt;Successful& lt;/ResponseMessage& gt;& lt;/Response& gt;
</OutOfStockAdviceResult>
</OutOfStockAdviceResponse>');
begin
select extractValue(v_OutOfStockResponse,'/OutOfStockAdviceResponse/OutOfStockAdviceResult','xmlns="http://abc.org/abcWebServices"')
into v_xmltext
from dual;
dbms_output.put_line('Text = ' || v_xmlText);
v_response := xmltype(v_xmltext);
v_response_code := v_response.extract('/Response/ResponseCode/text()').getnumberval();
v_response_msg := v_response.extract('/Response/ResponseMessage/text()').getstringval();
dbms_output.put_line('Code = ' || v_response_code);
dbms_output.put_line('Msg = ' || v_response_msg);
end;Note that like you I had to insert space characters between in the 'lt' and 'gt' escape sequences...
When this is run you get the following
SQL> set define off
SQL> set serveroutput on
SQL> --
SQL> declare
2 v_response xmltype;
3 v_response_code number(4);
4 v_response_msg varchar2(64);
5 v_xmltext varchar2(256);
6 v_OutOfStockResponse xmltype := xmltype(
7 '<OutOfStockAdviceResponse xmlns="http://abc.org/abcWebServices">
8 <OutOfStockAdviceResult>
9 & lt;Response& gt;& lt;ResponseCode& gt;0& lt;/ResponseCode& gt;& lt;ResponseMessage& gt;Successful& lt;/ResponseMessage& gt;& lt;/Response& gt;
10 </OutOfStockAdviceResult>
11 </OutOfStockAdviceResponse>');
12 begin
13 select extractValue(v_OutOfStockResponse,'/OutOfStockAdviceResponse/OutOfStockAdviceResult','xmlns="http://abc.org/abcWebServices"')
14 into v_xmltext
15 from dual;
16 dbms_output.put_line('Text = ' || v_xmlText);
17 v_response := xmltype(v_xmltext);
18 v_response_code := v_response.extract('/Response/ResponseCode/text()').getnumberval();
19 v_response_msg := v_response.extract('/Response/ResponseMessage/text()').getstringval();
20 dbms_output.put_line('Code = ' || v_response_code);
21 dbms_output.put_line('Msg = ' || v_response_msg);
22 end;
23 /
Text =
<Response><ResponseCode>0</ResponseCode><ResponseMessage>Successful</ResponseMes
sage></Response>
Code = 0
Msg = Successful
PL/SQL procedure successfully completed.
SQL>Basically we extract the encoded text using extractValue() which will de-escape the escapted characters and then create a new XMLType which we can operate on -
I need the code for creating popup windows and code for open and close
I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
Can anybody help me in that pls ?
Regards
Sreeni.Hi
For pop up window
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
wdContext.currentYourNodeElement().setPopupAttribute(window);
For closing window code
IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
window.hide();
window.destroyInstance();
For more infornation refer this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
This link is very useful for you.
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM -
Reg:T-CODE for open and close period for materials(new plant).
hi sap guru's
T-code for following process
can anybody send me , how to create calendar to new plant . and what is the T-code to be use for open and close period of materials for new plant.
thanks
sakthi..Hi Sakthi,
I am assuming that you are asking about the factory calendars which are assigned while difing the plant.
Factory calendars are created through transaction "SCAL".
Opening and closing of MM periods can be done through transaction MMPV.This is based on the company code.Before using MMPV ,you can look the last opened period in the transaction MMRV.
Reward points if it helps.
Regards
Karan -
Parameters for substr and dbms_lob.substr
The syntax for substr in SQL functions and for the function in dbms_lob package is not matching and hence confusing for programmers. It will be less confusing if parameters for both functions are of the same order.
In Sql functions the the syntax for substr is substr(string, offset, amount)
In dbms_lob package the syntax for the substr function is dbms_lob.substr(lob_loc, amount, offset)
MohanI think he wants to send a suggestion to Oracle via this forum.
Maybe you are looking for
-
Hi Apple users, A few months ago my iPhone 4 button stopped working and has made my phone unusable. Most of my friends that have had iPhones for about a year have a similar fault. I recently contacted Apple to discuss this and ask how to fix it. They
-
Obiee11.1.1.3 installation fails at step 11 at Restarting AdminServer
Fails at step 11 at Restarting AdminServer that comes after Deploying BI JEE applications & before Provisioning Core Security Artifacts. on 2003 server sp2 4Gig ram 11g r2 db Error from log: Initializing WebLogic Scripting Tool (WLST) ... Welcome to
-
hi, i get the following error on starting the mobile server after changing the ip... 10/09/27 13:06:12 WARNING: Application.setConfig Application: mobileserver is in failed state as initialization failedjava.lang.InstantiationException: Error fi ndin
-
Serial response groups not working
Hello,I have the following problem with a serial response group. When I call the response group : 1. it goes to a person in the list but not always the first one in the list 2. if nobody pics up it stays ringing on that person and does not go to the
-
Access to user management with j2ee_admin
Hello, All I have a problem I'm trying to access to user management () with j2ee_admin user, but when I log on with this users in the screen don't shown anything, only the fiels of usuername and password are cleaned and I enter other password in