Url from OA page - urgent plz
Hi ,
I have a URL in a seeded page which should open the file repository through the URL.
my URL value is: \\ottfs1 which should open the file repository.But i am facing the problem in opening this URL.
http:// is being appending to the url value.I am not sure why this http:// is being appending to the URLvalue.
when i place my cursor on the url value it shows as
javascript:windowHandle= window.open("http://\\\\ottfs1','Renderingpage',width=800','height=15,toolbar=yes)
so i am unable to view the file repository.
can any one support me on this to fix. thanks.
Anand, again thank you for your valuable information. The page is now redirecting to "http://inkolsun04:8052/OA_HTML/Temp.jsp?url=www.google.com". I used pageContext.sendRedirect(navigate); option which is working fine.
Now, there is a problem its opening a blank page. [Not giving page not found exception]. anyway I tried to redirect to a arbitary url "http://inkolsun04:8052/OA_HTML/xyz.jsp", which is also navigating to a blank page. No, page not found exception here also.
So, may be my jsp file has not been compiled in proper way.
Steps what I did ->
created a jsp file "Temp.jsp" =
*<head>*
*</head>*
*<body>*
*<p>Temp.jsp</p>*
*<% String getUrl= request.getParameter("url"); response.sendRedirect(getUrl);%>*
*</body>*
Put it in $OA_HTML. [for our case -> /CLIENTDEMO11i/vis11/CLIENT_NAME/apps/apps_st/comn/webapps/oacore/html ].
Restarted the apache server.
Now I don't know how to solve it. Please help me on this regard.
Similar Messages
-
Code to call another Page Flow URL from one page flow URL
Can anyone send me the code to call another pageflow url from one page flow URL.
thanks...
In my appication there is no Form page. Only based on Canvas in that ,
i implemented Text box, Text Field And Drop down list etc..by own coding without using any abstract methods.
I did every thing with in single Midlet file.While developng goes on i got the problem ,
Like "your application exceeds the memorylimit you cant
use more than 32Kb of byte code in Canvas"...
So the application is not opened.
I tried to call the next file in same package to proceed, i got it. codition goes to next file, but its not return back to the Main(MIDlet) file, throws the excepton as "Security exception".
How to solve this problem,is any other way? please... -
How to get requested (target) URL from login page jsp.
Hi,
How can I get requested (target) URL from within login jsp page where unauthenticated user was redirected.
IN other words I need to get target URL that user requested before he was redirected to login page.
In Weblogic there is "j_target_url" session attribute for this purpose.
Does NetWeaver have analogue?
Thanks in advance.hi Alex,
NWDS provides Authentication through Pre defined properties,
We can trap unauthorised user.
To know more about this,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4ecd6eb1-0301-0010-61bd-a3d6bee102c0
thank you -
Call Stored Procedure from Forms 6i -- Urgent Plz...
Dear All,
I am first writing a stored procedure as:-
CREATE OR REPLACE FUNCTION
good_hire
(birthdate_in IN DATE,
reqsal_in IN NUMBER)
RETURN BOOLEAN
IS
too_young BOOLEAN :=
ADD_MONTHS
(SYSDATE, -216) >
birthdate_in;
too_expensive BOOLEAN :=
reqsal_in > fin.dept_bal;
BEGIN
RETURN NOT (too_young
OR too_expensive);
END;
Now in my forms also i have the same function,which i defined in in my program unit i.e., with the same name good_hire,but with different parameters.
If I want to call this stored procedure(good_hire)in my form
I am writing this code in the pre-Insert trigger.
IF good_hire
(:newemp.birthdate,
:newemp.proposed_sal)
THEN
SELECT empseq.NEXTVAL
INTO :newemp.empno
FROM dual;
ELSE
RAISE FORM_TRIGGER_FAILURE;
END IF;
Notice that i am sending bind variables from my form to the
stored procedure. Now my question :
1) Can i pass bind variables to the stored procedures from
forms or is there any other way i can access the
stored roceures from forms(Expecting a detailed answer) and
from which triggers can I access the stored procedures(like pre-
Insert here)?
2) If at all I have the same parameters in my program unit
function and with the same name good_hire, I know that the code
in the pre-Insert trigger will call only the function in my
program unit and not the stored procedure, but if I like to
call my stored procedure instead of the local function good_hire
then what should I do?
2)As I said before if i have different parameters, for the
stored procedure good_hire and local function good_hire and If
I call good_hire from my pre-insert trigger .. Is it that the
Forms will decide and call the Local function or stored
procedure depending on the parameter list?
I hope all my points are very clear.
I am expecting the best and detailed answer for my
Queries, I also hope these Quests will clear the doubts of many
members in our esteemed group.
Thnx in Advance...
Regards
siree....Dear Siree,
Oh!! how many Questions? Each how much big??
Ok First of all the answer to your first question.
You can use the Stored procedures in the same way as the Forms procedures. You can pass bind variables to the stored procedures as well. You can also use the stored procedures in any triggers, I think there are no restrictions for that. The only thing is you should be connected to database while compiling the trigger where you are calling the stored procedure.
Answer to your second question.
You cannot direct Forms (I don't know about version 10g), untill 9i, you cannot tell forms to take the stored procedure and leave the local procedure. It will always take the local procedure, once a procedure is called. If not found locally then only it will go for the Stored procedures.
For your third question.
As I told you b4 forms searches for the procedure being called locally first, if locally present, does not go to the stored procedure. If declared by different paramaters in the stored procedure and it is called, then it will throw error (as it first searches for the name locally and if found will take up the one present locally and since that procedure is with different parameter, will throw up error). It is after all a stupid machine and can't think like us.
Regards,
Senthil .A. Perumal -
How to invoke ADF application URL from OAF?
Hi guru's,
We have a developed a custom ADF application using Fusion Middleware 11g.
We would like to integrate this ADF with existing EBS/OAF application.
We were able to invoke ADF URL from EBS responsibility with a special function type "ADFx" in R12.1.3.
Now we need to pass context/profile level parameters from EBS to external ADF application. Like logged in userId/RespId etc...
We are running ADF application also in same EBS DB and hence want to use same fnd_user/Resp concept in ADF.
Can anyone help me on how to pass these parameters like userId/RespId from EBS to ADF while invoking ADF application URL?
If we can append the values to ADF URL, we would be bale to parse them in ADF context. But, i am stuck at passing parameters from EBS.
How Can we invoke ADF URL from OAF page? is there any specific function available or is it just URL invoke?
Also, in OAF the logged in user session information is maintained in cookies(if i am correct), is there any way that we can pass the session level values from OAF to ADF?
Any help in this regard would be a great help!!!
ThanksMay be the following link will help you ->
http://www.oracle-latest-technology.com/2010/12/how-to-dynamically-open-external-url.html -
Redirecting all pages from old URL to index page of new URL
Hello everybody..
I have an Apache configuration question, can't work out the procedure in Server Admin.
Basically I have a website at "oldurl.com". In Server Admin, I have the site set to serve a PHP file which runs a 301 redirect to "newurl.com". Works nicely.
Trouble is, if somebody requests "oldurl.com/somepage", the 301 redirect does not function.
I need all pages on "oldurl.com" to forward to the homepage of "newurl.com".
I suspect I need to type something into the "URL Aliases and Redirects" pane in Server admin, and some sort of wildcard, but I'm stumped. I have read about fiddling with the .htaccess file, but surely this is not necessary?
Hope you can help. Thank you!To give a more detailed (and just possibly relevant) example of what koncept's talking about, suppose you wanted to redirect browsers from any page on the old domain to a corresponding page on the new domain (e.g. http://oldurl.com/this/that/theother.html would redirect to http://newurl.com/this/that/theother.html, rather than just http://newurl.com/). You'd make a rule in the oldurl.com site like this:
Type: RedirectMatch
Pattern: (.*)$
Path: http://newurl.com$1
The .* matches zero or more anythings, the $ matches the end of the url (to make sure we get the whole thing, not just part of it), and the parentheses capture the match so we can use it in the redirect path as $1. Note that the pattern is matched against the path part of the original url (i.e. "/this/that/theother.html" in the example I gave earlier), so we can just tack it onto the new domain name and we're set. -
This problem only started recently.
Opening another web page (URL) from my homepage always opens in the same tab and the "go back one page" button is gray and does not work. If I open a series of web pages in the same tab the green "back" button is green. Clicking on the "recent pages" down arrow will allow me to go back, but only to the page after the home page.
In other words, after browsing, I can get back to the opening page (my home page) only by clicking on the house icon but not by using the "recent pages" function.
Is there an option that changed after the last update?Do you see any tab history if you right click the Back or Forward button?
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
How do I find out the URL of the page a document was downloaded from?
I downloaded a PDF several months ago; I can see it in my downloads history. When I right click it there, I see the link to the PDF itself, but I need to know the actual page it came from.
I've checked my History, but cannot identify the page.
Is there a definitive way of determining the URL of the page that linked to the document?Open the Download Manager window and select that file.
Copy and paste this code in the Code field in the Error Console and click the Evaluate button.
*Firefox/Tools > Web Development > Error Console
The code adds a tooltip to the area with the file type icon at the left hand side of each entry in the DM window and shows a tooltip when you hover that area.<br />
It only works for entries that are currently visible in the DM and not for new entries that are added by downloading files and only as long as the DM window is kept open, so you need to rerun the code in the Error Console to get a tooltip.
<pre><nowiki>const Cc=Components.classes, Ci=Components.interfaces;
var enumerator=Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator).getEnumerator(null);
while(enumerator.hasMoreElements()){var win=enumerator.getNext();
if(win.location=="chrome://mozapps/content/downloads/downloads.xul"){
var i,r,R,C='';
r=win.document.getElementById("downloadView").getElementsByTagName("richlistitem");
for(i=0;R=r[i];i++){
var fP=R.getAttribute("path");
var fU=R.getAttribute("uri");
var sT=parseInt(R.getAttribute("startTime"));
var eT=parseInt(R.getAttribute("endTime"));
var cB=parseInt(R.getAttribute("currBytes"));
var mB=parseInt(R.getAttribute("maxBytes"));
var rU=R.hasAttribute("referrer")?R.getAttribute("referrer"):"<no referrer>";
var sD=cB/(eT-sT);
var tT=[];
tT.push("FILE: "+fP);
tT.push("URI: "+fU);
tT.push("REF: "+rU);
tT.push("");
tT.push("Total Time: "+((eT-sT)/1E3)+" sec.");
tT.push("Curr Bytes: "+cB+" bytes"+((cB==mB)?" (OK)":"(part)"));
tT.push("Max Bytes: "+mB+" bytes");
tT.push("Download speed: "+sD.toFixed(3)+" KB/sec");
R.setAttribute("tooltiptext",tT.join("\n"));
if(R.getAttribute("selected")=="true"){C=tT;}
if(C)prompt(C.join("\n"),C);
</nowiki></pre> -
URGENT: Need help reading URL of current page
Hello kind people!
I need help, and its very simple:
How do i read the URL of a web page?
For example, the URL of this page is:
http://forums.sun.com/thread.jspa?threadID=5327796
So how can i be able to read in this URL in my java program?
thanks SO MUCH
P.S. I HAVE searched the java docs and everything, the closest thing i found was request.getRequestURL().? but i have no idea how to use it. you have NO IDEA how appreciative i would be if you could simply show me exactly how to read in the URL of a given page.
thanks SO MUCH
Edited by: homegrownpeas on Aug 31, 2008 5:19 PMGoing by what I understand here is a simple version of how you can read data from over HTTP.
This expects the "page" to be text (hence an InputStreamReader instead of an InputStream.)
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.HashMap;
* GPLv2.
* @author karlm816
public class HomeGrownPeas {
* @param args
public static void main(String[] args) {
HashMap<String, String> params = new HashMap<String, String>();
params.put("threadID", "5327796");
System.out.println(loadHttpPage("http://forums.sun.com/thread.jspa", params));
public static String loadHttpPage(String sUrl, HashMap<String, String> params) {
// Build the HTTP request string
StringBuilder sb = new StringBuilder();
if (params != null) {
for (String key : params.keySet()) {
if (sb.length() > 0) {
sb.append("&");
sb.append(key);
sb.append("=");
sb.append(params.get(key));
System.out.println("params: " + sb.toString());
try {
URL url = new URL(sUrl);
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty("Content-Length", "" + sb.length());
connection.setUseCaches(false);
if (connection instanceof HttpURLConnection) {
HttpURLConnection conn = (HttpURLConnection) connection;
conn.setRequestMethod("POST");
OutputStreamWriter osw = new OutputStreamWriter(connection.getOutputStream());
osw.write(sb.toString());
osw.close();
// Now use sb to hold the resutls from the request
sb = new StringBuilder();
BufferedReader in = new BufferedReader(
new InputStreamReader(
connection.getInputStream()));
String s;
while ((s = in.readLine()) != null) {
sb.append(s);
// To make it more "human readable"
sb.append("\n");
in.close();
} catch (IOException e) {
e.printStackTrace();
return null;
return sb.toString();
} -
Hi I'm trying to display a menu from a table, and then I want to mark the current page in that menu by reading the url of the current page.
This is what i've got so far:
DECLARE
loc Varchar2(40);
BEGIN
loc := htp.script('document.url');
htp.print('<table border=1>');
for rec in (select id, name, parent_id, url from fgj_menu where parent_id=0) loop
HTP.print ('<tr>');
HTP.print ('<td><a href="' || rec.url || '">' || rec.name || '</a></td></tr>');
for rec2 in (select id, name, parent_id, url from fgj_menu where parent_id = rec.id) loop
if rec2.url = loc then
HTP.print ('<tr>');
HTP.print ('<td> >> <a href="' || rec2.url || '">' || rec2.name || '</a></td></tr>');
else
HTP.print ('<tr>');
HTP.print ('<td> <a href="' || rec2.url || '">' || rec2.name || '</a></td></tr>');
end if;
end loop;
END LOOP;
htp.print('</table>');
END;fails on 4th line :
loc := htp.script('document.url');Any suggestions?
Message was edited (format edits) by:
BotzyHi Botzy
You can put your javascript code in an HTML portlet, but I prefer to put a page under htdocs, it's much easier to develop, and then use an url item that displays the url directly in the page.
About the code :
var xhr_object = null;
if(window.XMLHttpRequest) // Firefox
xhr_object = new XMLHttpRequest();
else if(window.ActiveXObject) // IE
xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
xhr_object.open("POST", "/portal/pls/portal/my_schema.my_proc", true);
xhr_object.onreadystatechange = function()
if(xhr_object.readyState == 4) alert(xhr_object.responseText);
xhr_object.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhr_object.send('p_param1=value1&p_param2=value2');
That's really simple to use, you just have to change the name of your proc and its parameters, and you'll get what it "htp.prints". Be sure to grant exec to public on you proc.
By the way, I've just imagined an even more simple solution :
- do not pass any param to your procedure. Let it just write always the same code whatever the page it is on
- identify each entry of your menu with a javascript id, for instance
<table>
<tr><td id="url1">page 1</td></tr>
<tr><td id="url2">page 2</td></tr>
etc...
Then use a small javascript code at the end of your page with something lie this :
document.getElementById(document.location.href).style = a different color
or
document.getElementById(document.location.href).innerHTML = something different
or whatever you want. -
Does anyone have URL replacement working for catalog generated from wiki pages library
Hi everyone,
I have created a catalog from a wiki library which surfaces news/event/announcement articles to a publishing site (with make URLs relative to this site selected). This works well after modifying the item page and specifying the content as HTML regarding
the functioning of category/item pages.
The only issue which remains is that hyperlinks between wiki pages are not replaced in the target site (they always point to the wiki pages within the authoring site collection rather than to their catalog counterparts in the publishing site). It is
my understanding that with publishing pages from a pages library these links are replaced to point to other items in the catalog connected site rather than the source.
Is this just by design (only working for publishing pages rather than wiki pages), or does anyone have this replacement working?
If this does not work it kind of defeats the purpose of the catalog here and I might as well give everyone access to the authoring library and just use a CSWP in the publishing site to redirect to the authoring wikis. Not terribly nice from a layout,
navigational or conceptual standpoint though.Just to add a bit more info to this... looking at the coreclient.log file you can plainly see that the page view took 50367ms to complete.... if anyone has any ideas, it would be greatly appreciated.
Started GET "/wiki/pages/V6C291y8z/price_lists.html" for 192.168.0.100 at Fri Nov 04 13:48:49 -0500 2011
Processing by PagesController#show as HTML
Parameters: {"title"=>"Production_Intercom.html", "id"=>"V6C291y8z"}
Rendered cc/_banner_link.html.erb (0.2ms)
Rendered cc/_banner_link.html.erb (0.2ms)
Rendered cc/_banner_link.html.erb (0.2ms)
Rendered cc/_banner.html.erb (1.8ms)
get_timezone_offset_from_request: -18000
time: Wed Oct 26 12:52:17 -0500 2011
time (client timezone): Wed Oct 26 12:52:17 -0500 2011
Rendered cc/_entity_header.html.erb (2.5ms)
Rendered cc/_wikieditor.html.erb (0.1ms)
Rendered sidebars/_tags.html.erb (59.0ms)
Rendered cc/_related_item.html.erb (0.0ms)
Rendered sidebars/_related.html.erb (0.3ms)
Rendered cc/_comment.html.erb (0.0ms)
Rendered sidebars/_comments.html.erb (0.4ms)
Rendered sidebars/_updates.html.erb (0.1ms)
Rendered sidebars/_settings.html.erb (0.2ms)
Rendered cc/_sidebar_section.html.erb (61.2ms)
Rendered cc/_sidebar.html.erb (61.5ms)
Rendered pages/show.html.erb within layouts/application (50366.0ms)
Completed 200 OK in 261847ms (Views: 50367.1ms) -
How to get the URL parameter value when navigating from JSP Page to portal
Hi All,
I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
How do we resolve this problem?
Regards,
Boopathi MHi
Please try these link might helpful for you
1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
Best Regards
Satish Kumar -
How to copy and paste text / url's from web pages
Hi,
Anyone know how to copy text and / or a url from a web page to another application?
Earlier I tried to copy a streaming url from a web page into media player internet radio but couldn't
Thanks
Paul
ps can we have a suggested improvements page where we can bullet point changes as at the moment the n900 is very basic in functionality.after swiping, an arrow icon on the left side of the screen will show up, you have to tap on the arrow icon once to make a red sign appear over it, then you can select text
Az. At.
IT Support Engineer
DED -
How do I remove a url from "Always view this page in IE"
How do I remove a URL from "Always view this page in IE"?
After the new server is added to the cluster and the AG, remove the old one by first
ALTER AVAILABILITY GROUP [YourAG]
REMOVE REPLICA ON N'OldServer';
Remove a Secondary Replica from an Availability Group
Then evict the old server from the cluster with the cluster administrator or
Remove-ClusterNode OldServer
Remember to verify the quorum configuration after adding the new server and removing the old server.
David
David http://blogs.msdn.com/b/dbrowne/ -
Urgent!! url of bsp page
Experts,
ERP2005
I am creating bsp applications in dev system and each page in the application has the url of dev. system. if i transport the application to Q and then Prod systems, do the URLs be automatically be adjusted according to hostname or it should be done manually? if it is a manual process, should I go for using external aliases?
Regards!Hi Graham,
let me explain again. i am not a big programmer of BSP applications. I am a HR functional guy. I am trying to use the features of Web AS to create BSP HTML pages easily.
I am not trying to create a complex application. a simple application which contains 40-50 HTML pages which are independent of each other. no navigation is needed.
for example:
dev system hostname is somehost<b>dev</b>.
Q system hostname is somehost<b>q</b>.
Prod system hostname is somehost<b>prod</b>.
say I have a BSP application in DEV as http://<somehost<b>dev</b>>.<domain>.........../startpage.htm
In HR configuration, above URL is used in one field like this:
<b>URL: http://<somehost<b>dev</b>>.<domain>.........../startpage.htm </b> (URL of above BSP page)
Description: Description for Medical Plan
So If the transport request is moved to Q system, i see above entry in the configuration. but it does not have host name of the Q system (obvious from the above entry). it has host name of the dev system. so, in Q ESS portal if I click the link, it is accessing the link from BSP page from DEV system not the one from Q R/3 system. it is because of above configuration.
It seems to me at this moment, to put the URL of BSP Page in the configuration field, and transport the customizing request. with this solution, there is lot of manual process.
first,
1. put the URL of BSP page with Q system host name in the DEV system, and transport the request to Q. Do the testing
2. change the URL of BSP page with P system hostname in the DEV system, and transport it to Q and then P.
there is lot of manual processing involved.
is there any way to get around this?
Maybe you are looking for
-
Ok so heres what happened.. My iphone was updating to ios6... and it was taking HOURS so i unplugged it (stupid i know) So now im trying to restore it to factory settings (and then hopfully get everything cause i always back up) But plugged into itun
-
I am unable to access my gmail on my iPad air. I can access my yahoo mail . I can also access both gmail and yahoo on my Kindle fire. What is the oroblem with gmail and iPad?
-
Changing Subject: Header for bounced messages
Our current version: imsimta version Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008) libimta.so 7.0-3.01 64bit (built 09:24:13, Dec 9 2008) Using /opt/sun/comms/messaging64/config/imta.cnf SunOS mmp-nhm1.its.utas.edu.au 5.10 Ge
-
Reagrdin Pagination error in the report region of classic report
Hi , when run the sql report iam getting below error ,, can any body suggest me how it could be resolve Invalid set of rows requested , the source data of the report has been modified._ Iam using apex4.1 thanks sagar
-
I want to use the Lightroom CC version. I have LR 5 installed as a stand alone program and I have Photoshop CC as a single app. Now Adobe is offering LR as part of the Photoshop CC package. What do I need to do to get LR CC and not lose all of my