How to find out the URL in message
Hi,
I am giving the input is
<message>hai www.google.com</message>
here iam giving "hai" is the message and "www.google.com" is the url link.
but in my application i will get the input from message and passed to urllink here the output shows "hai www.google.com" is the url link.
but i want to separate the message (" hai") and url link("www.google.com") separatly.
pls can any body help on this issue.
how to resolve this issue.
in xsl you can use the function tokenize
http://www.xml.com/pub/a/2003/05/07/tr.html
you will spilt the string with the ' ' character and after that you can loop over the array
in the array the first element will be your 'hai' string and the second will be your url
if im not wrong this is a xsl stylesheet 2.0 function, but you can replace the identifier in the xsl which is generated from jdeveloper/bpel from 1.0 to 2.0
Similar Messages
-
How to find out the URL for OAM at a new site
Hi
if you turn up at a new site, and you only have the oracle / applmgr account password
to a linux server, how would you go about finding out the URL for OAM ?
Many thanksOAM URL is:
http://hostname.domain:port/servlets/weboam/oam/oamLogin -
How to find out the URL of the user coming from?
Hi folks,
From the HttpServletRequest, is there a way to find out the URL of the user coming from?
Thanks in advance!
BillyIt is strange. The link is on a different http site eg. http://www.othersite.com. The link is pointing https://www,mysite.com/index.html. I put the alert(document.referer) on the index.html. Using FireFox will show the alert http://www.othersite.com every time. However, on IE, the first time is empty. The second time I click on the link, it will show http://www.othersite.com. Very consistent.
-
How should I find out the number of messages on queue?
I am using iMQ 3.0. Point-to-point messaging.
I have sent some messages to the queue. How should I
find out the number of messages on queue ?You can use MQ's admin tools (imqcmd or imqadmin)
to find that out.
'imqcmd query dst -n queuename -t q' will print out what
you want.
Check the administration guide for more info. -
Get "404 Not Found" after deployment. How to find out correct URL?
To the experienced:
In preparing to deploy my application, I am using JDeveloper 10.1.3.4 to deploy the application to the standalone oc4j server that is included in JDeveloper. After the deployment, I get the "404 Not Found" error when trying to invoke the application in a browser. The deployment looks OK, becasue the log window in JDeveloper showed no error when running deployment from inside JDeveloper. Therefore I guess the question is how to find out the correct URL to invoke the application. The steps I took in doing the deployment are as follows.
I first installed the standalone oc4j by running the <jdev_home>\jdev\bin\start_oc4j .bat file. The installation is OK because I deployed the SRTutorial applcation and invoked it in a browser successfully.
The WAR file was created by right-clicking the ViewController project and select to create a WAR file. To the application's Context Root its own name, I typed "ZB" in the box for the context root.
Then in ViewController -> Resources, right_click the deployment file (ZBOV.deploy) and chose "Deploy to" the local_standalone_oc4j. The messages in JDeveloper's log window for the deployment are all clean without errors.
I then used this url to invoke the deployed application in a browser:
http://localhost:8888/ZB/faces/staff/login.jspx
But I got an "404 Not Found" error. Right away I tried invoking the SRTutorial application, and it runs fine.
login.jspx is one of the pages for the appllication. In the application navigator, it is located with other files in the ViewController/Web Content/staff folder, therefore I used /staff/login.jspx after ZB/faces.
What could be wrong? If the deployment is actually successful, how to find out the correct url to invoke the application?
Many thanks for your help!
NewmanHi, Arun,
Thank you for the suggestion. I tried it but got the same error.
I tried it by first undeploying the application using the enterprise manager page (which is also part of the oc4j included in JDeveloper). I select the application and clicked the undeploy link, confirmed that I wanted to remove it. And it was removed.
Then in JDeveloper, I right-clicked the ViewController, and in the properties of the probject selected "J2EE Application" and then selected "Use Custom Settings", then in the "J2EE Web Context Root" box I entered "ZB". Created the deployment profile again, overwriting the existing one, and then right-clicked the ZB.deploy node to deploy to the standalone oc4j on the localhost. And I used the url:
http://localhost:8888/ZB/faces/staff/login.jspx
And I got the same "404 Not Found" error.
There was no error at the time of deployment using the ZB.deploy profile. On the enterprise manager page, the path of the deployed application is given as /C:/jdev10134/j2ee/home/applications/ZB.ear, and the folder of the deployed application is there. Question is: if the deployment is actually OK, can the correct URL be found in some file somewhere in the folder?
All ideas and suggestions are very much appreciated!
Newman -
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DISPLAY_DATA -
How to find out the locale setting in a browser?
In my Java web project, the multi-lingual issue on the JSP pages is handled by JSTL. It works fine so far for any input messages. However, some messages come from the container. It is needed to find out the browser's country and language settings inside of the container. My question is how to find out the settings?
Thanks in advance.
v.Hi, this I found on James' website--see http://www.rf.net/~james/perli18n.html#Q28
Q28. Can web servers automatically detect the language of the browser and display the correct localized page?
A28. Yes. HTTP/1.1 defines the details of how content negotiation works, including language content.
WWW browsers send an Accept-Language request header specifying which languages are preferred for responses. This technique works fairly well, although some versions of Netscape Navigator send an improperly formatted request parameter. Also, switching language preferences in either Navigator or IE 4 doesn't always "take" without first deleting a language hint.
Few sites do content-negotiation on language, and interestingly enough I do not know of any major portals doing this. One site that does is Sun's documentation library at SunDocs. Debian.org does a very nice job of using Apache content negotiation wih languages and also has some nice help info too on Setting the Default Language.
Apache's Content Negotiation features will select the right page to return, whether HTML or image file. Annoyingly, the match logic is very literal, so a browser request for en-us will not match a server entry of en except as a last resort. Any other exact match will win over en, even if en-us was first preference.
There are 2 ways of doing content negotiation with Apache: type or variant maps and multiviews.
Variant Maps
In httpd.conf, disable Options Multiviews if configured and add
AddType type-var var
DirectoryIndex index.var
Then create an index.var file like this:
URI: start; vary="type,language"
URI: index.html.en
Content-type: text/html
Content-language: en-GB
URI: index.html.en
Content-type: text/html
Content-language: en-US
URI: index.html.en
Content-type: text/html
Content-language: en
URI: index.html.fr
Content-type: text/html
Content-language: fr-CA
URI: index.html.fr
Content-type: text/html
Content-language: fr
URI: index.html.es
Content-type: text/html
Content-language: es
Multiviews
The multiviews technique works like this. This does add extra server load, as each content directory must be scanned for the variant document names.
index.html is localized into variant documents such as:
index.html.en (or index.en.html)
index.html.fr
index.html.es
index.html (or index.html.html as a reader has recommended) symlinked to one of the above as the last resort.
Here's an example of http.conf directives for this:
# in httpd.conf
AddLanguage en .en
AddLanguage fr .fr
AddLanguage es .es
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
# Just list the languages in decreasing order of preference.
LanguagePriority en es fr de pt
Options Multiviews
# end of httpd.conf fragment
Starting in Apache 1.2, you may also create documents with multiple language extensions.
O'Reilly's Apache - The Definitive Guide, Chapter 6
ApacheWeek article on Language Negotiation
Another ApacheWeek article on Language Negotiation -
How to find out the RasterItem(embedded) links name?
How to find out the RasterItem(embedded) links name which appeared in Links menu(Window->Links) via scripting for illustrator cs3. Please advise me the possibilities.
Thanks for looking into this.Thanks for your support. From your code i got the filename(embedded) with pathname(if the embedded image in that location). If the embedded image not in that location at that time it throws error message. Is it possible to find out the name of the embedded image, if the corresponding image not in that location. Kindly advise me the possiblitities.
Thanks for looking into this. -
How to find out the Trigeering program of an IDOC
How to find out the Trigeering program of an IDOC ?
Thank Usse the FUnction module ..MASTER_IDOC_DISTRIBUTE..if it is used zreport or program
that means the message type used in the program are manually triggered.
Prabhudas -
How to find out the Number range object for Incident number
How to find out the Number range object for Incident number ?
CCIHT_IAL-IALID
regards,
lavanyaHI, an example.
data: vl_num type i,
vl_char(6) type c,
vl_qty type INRI-QUANTITY,
vl_rc type INRI-RETURNCODE.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'ZRG0000001'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
NUMBER = vl_num
QUANTITY = vl_qty
RETURNCODE = vl_rc
EXCEPTIONS
INTERVAL_NOT_FOUND = 1
NUMBER_RANGE_NOT_INTERN = 2
OBJECT_NOT_FOUND = 3
QUANTITY_IS_0 = 4
QUANTITY_IS_NOT_1 = 5
INTERVAL_OVERFLOW = 6
BUFFER_OVERFLOW = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
vl_char = vl_num.
write vl_char.
Regard -
How to find out the batches released from ASCP
hello gurus,
Please let me know how to find out the batches which is released from the ASCP in the OLTP OPM instance, like for the Discrete in the WIP Order in the others tabe we can see that there will be a message like " Job mass loadded on......". So is there any way that we can findout whether the batch is released from the ASCP or is it manually created.
Thanx & RegardsHi,
You can check it in SM59 if there are any RFC destinations for the above systems.
Alternatively ,check the table RFCDEST if any entries are maintained
Regards,
Lakshman. -
How to find out the idoc type required for our requirement
Hi,
How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
Points will be given for the useful answers
Thanks,
PrasannaHi prasanna,
we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
For example we want idoc type for account invoice receipt.
First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
Get this message type and search in we82 where we can find message type and idoc type linkage.
try this way.
Reward if it is usful.
Thanks,
Srikanth.A -
How to find out the info regarding Solaris, server hang or shutdown.
Hi
As I am handling the Solaris 9 Server remotely.
As in last week the server has stopped to respond suddenly, we have tried to ping, ssh which was not working. As ultimately we have asked the Data Centre Team to hard reboot the same, to resolve the issue.
In the same ref I would like to know how we come to know the reason, what caused to reboot the same, i.e . any log file, etc..
I have check /var/adm/messages, but not found any detail for the same.
Thanks
Rajan
INo core files?
No hope for an answer.
As you learned in the other Internet forum.
http://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-find-out-the-info-regarding-solaris-server-hang-or-shutdown.-621500/
To get such corefiles analyzed,
you would need to use your service contract and log a support case with Sun.
They have the special software tools to do that. -
How to find out the inbound function module in the extended idoc
Hi,
how to find out the inbound function module in the extended idocs
Thanks .through we41/we42 you can find the inbound function module.......
or
thorough we19(idoc test tool) ....
give the input as message type or basic idoc..
press exec...
then you can find th button on application tool bar as inbound funtion module....
from here also you can find..........
<REMOVED BY MODERATOR>
Khasimsa
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 1:34 PM -
How to find out where sap error messages stored...
How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?
Hi,
I also got the same message when that message no is not there
E:SABAPDOCU:000 test
yours is S-type and message id ZY and message no 127
127 is not there either change the no or create the same
Regards
Shiva
Maybe you are looking for
-
Working browsers for 10.4.11? and / or OS upgrade help?
I stopped being able to update Firefox probably around 2 years ago on my computer, and can't download Google Chrome, all because I am running 10.4.11. I don't need to do so much on my computer...I browse the web, talk to people on skype, listen to mu
-
Should I auto update iTunes and Quicktime?
the System update asks me to update iTunes and Quicktime but I think the versions are incompatible to this version. This computer is old dog slow. Would it be slower if i upgraded to the latest OS? Is it even possible. Thanks. Will
-
hi, why when I try to open spotlight preferences from spotlight menu nothing comes up? and when i try to look for it "spotlight preferences" in the help menu i find a link for it but when i click it an error message shows saying : " the item cannot b
-
Limits for pricing in the VK11 - Max Value
Hi, I am working on ECC 6.0. I have been trying to use the Max number of orders and Max cond value for a Z condition type . The Max number of orders seems to be working, if I set to 2 the 3rd order does not have the condition type at all.But when I s
-
why cant i sync my devices with this new version of iTunes? my devices are suddenly not being recognized. HELP!