Open a JSP page from an applet
Hello u all!
I am writing an applet in which I ask for a few parameters,when I have them all I�d like to open a new JSP page in another window of the web browser giving to this page all the parameters I have collected during the life of the applet. Does anybody know how can I do it? Thanks in advance.
Hi,
Use the showDocument method in conjunction with getAppletContext.
And pass all ur parameters thru it.
Lushhay
Similar Messages
-
How to open a JSP page from a form ??? plz help
hi ..
i want to know how to open a jsp page from a oracle apps form using a button .
the requirement is that whenever we click on the button created on the form, it opens a jsp page.
plz help me ..its urgent !! :-(In portlet project, to navigate between pages, you should not use the URL property to link to a page. Instead, portlets use navigation via action handling. You use the Page Navigation editor to set up links to pages; that is, the navigation editor sets the action property.
Here is an example to hyperlink ans button to open a new page:
# From within the IDE, create a new portlet project. This action creates the project and one page, PortletPage1.jsp.
# Create a second portlet page, called PortletPage2.jsp, for the project.
# Drop a Hyperlink component onto the first portlet page, PortletPage1. (You can drop the Hyperlink on the page in the Design window or on the PortletPage1 node in the Outline window.) Change the Hyperlink's text property to Next Page.
# Drop a Button component (found in the Basic section of the Palette) onto the second portlet page, PortletPage2.
# Open the Page Navigation Editor. It displays the two pages (PortletPage1.jsp and PortletPage2.jsp) of the application.
# Click the PortletPage1.jsp icon in the Navigation window to expand it, and then drag a connector from hyperlink1 to PortletPage2.jsp. Change the name of the connector from case1 to Page2.
# Click the PortletPage2.jsp icon in the Navigation window to expand it, and then drag a connector from button1 to PortletPage1.jsp. Change the name of the connector from case1 to Page1.
# Run and deploy the portlet. The browser displays PortletPage1 and you should see the Next Page hyperlink. When you click the Next Page hyperlink, the Apache Pluto Portal server displays PortletPage2. Click the Page2 button to return to PortletPage1.
Sherry
Creator Team -
Error While opening a JSP page from inside form window
Hi,
I am using Oracle EBS 12.0.4 and using IE 7 as my browser.
Now when i am trying to open a jsp page form EBS Home page (after login) it is opening perfectly.The problem occurs when i tried to open jsp pages from inside form window.
E.g. From the home page when i tried to open a jsp page "Control Purchasing Periods" which is assigned in one of our custom responsibility(Manager Systems-->PO Super User-->Set up-->Financials-->Accounting-->Control Purchasing Periods) it opens a new log in page for the EBS. When i logged in it is showing
Error
You have insufficient privileges for the current operation. Please contact your System Administrator. Same is happening when i am trying to open User Page form user management responsibility from inside a form window.Where as it is opening fine from home page.
Please help.Hi, hueesin
in error log i got this 4 new lines while performing the transaction from my host
[Thu Dec 30 13:27:39 2010] [error] [client 172.16.6.144] [ecid: 1293695859:172.16.48.61:25634:0:8748,0] Directory index forbidden by rule: /dev02/KMCTEST/apps/apps_st/comn/java/classes/
[Thu Dec 30 13:27:40 2010] [error] [client 172.16.6.144] [ecid: 1293695860:172.16.48.61:25328:0:8829,0] Directory index forbidden by rule: /dev02/KMCTEST/apps/apps_st/comn/java/classes/
[Thu Dec 30 13:28:06 2010] [error] [client 172.16.6.144] [ecid: 1293695886:172.16.48.61:25654:0:9225,0] File does not exist: /dev02/KMCTEST/apps/apps_st/comn/java/classes/oracle/forms/engine/RunformBundle_en_IN.class
[Thu Dec 30 13:28:06 2010] [error] [client 172.16.6.144] [ecid: 1293695886:172.16.48.61:25654:0:9226,0] File does not exist: /dev02/KMCTEST/apps/apps_st/comn/java/classes/oracle/forms/engine/RunformBundle_en_IN.propertieswhile in access log i got
172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "POST /OA_HTML/OA.jsp?page=/oracle/apps/fnd/sso/login/webui/MainLoginPG&_ri=0&_ti=587084970&language_code=US&requestUrl=http%3A%2F%2Fkmctapp2.kmc.com%3A8005%2FOA_HTML%2FRF.jsp%3Ffunction_id%3D2014%26resp_id%3D50670%26resp_appl_id%3D7000%26security_group_id%3D0%26lang_code%3DUS%26params%3Df7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0%26oas%3DAuZa28Bnhl7glqYyqXbjsg..&cancelUrl=http%3A%2F%2Fkmctapp2.kmc.com%3A8005%2FOA_HTML%2FAppsLogin&langCode=US&oapc=2&oas=rucHEnmoEQ25-3xRNnl0ZA.. HTTP/1.1" 302 708 1 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=28636&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US¶ms=Br702.NFW.nrlg1EodytbsK-Dc1k9ERgGeColziC.cPOIi7hiyjaPiR6AJ7.Lk4IUbiFt8MZ-sww1yPk9nLXIYqdPHfttMeywkt5IQhVsrG8Y9M-0CrrcAU8ZntmtaFjlkc2vXbUaot6TQpdqAPHJyaJn6YLsew516hhfiB2xemOmo6e-.WpPrlXfvBQG.XVr-Z8y-V4uRkwwHgWHTK.ju6jLsF35BmqTRszq39cgoHe38QZqjtonDRWgTFzvxooOAmX1EHPfxfMz88uKnVWnnzU-4996ZD8e3X0Dagp19gjOYgefJlT1fTUaFvMo3cP.-7Ypt0s4Cck.GhdFOnHRK1Ok6KdvnjFyjK-WHCy4ZHCvw3NZPREYBngqJc4gvnDziIu4Yso2j4kegCe-i5OCFG4hbfDGf7MMNcj5PZy1yFwJ8GIMHyNmCAg9Yo1bXn5cTHOy7xYWHyOD5.ax3JG6Q&oas=W0vxAqkroMB_7DgeNPZhYw.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US¶ms=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.. HTTP/1.1" 200 7534 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=28636&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US¶ms=Br702.NFW.nrlg1EodytbsK-Dc1k9ERgGeColziC.cPOIi7hiyjaPiR6AJ7.Lk4IUbiFt8MZ-sww1yPk9nLXIYqdPHfttMeywkt5IQhVsrG8Y9M-0CrrcAU8ZntmtaFjlkc2vXbUaot6TQpdqAPHJyaJn6YLsew516hhfiB2xemOmo6e-.WpPrlXfvBQG.XVr-Z8y-V4uRkwwHgWHTK.ju6jLsF35BmqTRszq39cgoHe38QZqjtonDRWgTFzvxooOAmX1EHPfxfMz88uKnVWnnzU-4996ZD8e3X0Dagp19gjOYgefJlT1fTUaFvMo3cP.-7Ypt0s4Cck.GhdFOnHRK1Ok6KdvnjFyjK-WHCy4ZHCvw3NZPREYBngqJc4gvnDziIu4Yso2j4kegCe-i5OCFG4hbfDGf7MMNcj5PZy1yFwJ8GIMHyNmCAg9Yo1bXn5cTHOy7xYWHyOD5.ax3JG6Q&oas=W0vxAqkroMB_7DgeNPZhYw.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/t.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US¶ms=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/errorl.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US¶ms=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/navBarUnderTopTabsBg.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US¶ms=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/footerBg.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US¶ms=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)" -
Open a html page from an applet
Hi,
I would like to open, from an applet, an HTML page in a new window with a specific width an eight.
Who can help me ?Here is an example of applet to javascript with liveconnect:
http://www.narhari.com/java/applet2javascript/
You can use the send(String) method from the sample applet to send something like:
window.open('xyz.html','myPopup','width=200,height=200');in order to open a window with specific dimensions
of course you can also build HTML in your applet and use send() + some javascript to render it. -
How to Open another jsp page from jsp page
Hi,
I am new to JSP. I need help to handle issue given below:
I have created one JSP Page for Login which contains Username and Password with a Submit Button. Once user inputs UserName and Password and Press Submit Button, It calls another JSP Page "Validate_login"
Validate_Login JSP does a JDBC call to Databse and validate User Name and Password. Now i want to open a "Employee.jsp" page if Username and Password matches with the one in database.
Pls advice what function or tag should i use to open this page in If (condition) true section.. I tried Window.open but it return back with error.I tried with the function suggested by Doly. But nothing is happening. It doesn't redirect to any page. only a blank page comes.
here is complete code . pls correct me if i am wrong somewhere.
this is code of Validate_Login.jsp page which is invoked when user press login button on login.jsp.
my purpose is to validate username and password from database and redirect to employee.jsp if it is ok else back to login.jsp
here is source of Validate_login.jsp
=============================================================
<%@ page language="java" import="java.sql.*" pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Validate Login</title>
</head>
<body>
<%
String username = request.getParameter("username");
String password = request.getParameter("password");
String viewPATH = "c:/MyData.mdb";
String dsnPATH = "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb); " +
"DBQ="+viewPATH+"; " +
"UserCommitSync=Yes; " +
"Threads=3; " +
"SafeTransactions=0; " +
"PageTimeout=5; " +
"MaxScanRows=8; " +
"MaxBufferSize=2048; " +
"DriverId=281; " +
"DefaultDir=C:/ProgramFiles/CommonFiles/ODBC/DataSources";
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn = DriverManager.getConnection(dsnPATH, "", "");
stmt = conn.createStatement();
rs= stmt.executeQuery("SELECT * FROM Employee where emp_id='"+username+"'");
while(rs.next())
String pass = rs.getString("password");
if (pass.equals(password))
{ response.sendRedirect("Employee.jsp");}
else
{ response.sendRedirect("login.jsp");}
catch(Exception e)
e.printStackTrace();
finally
if(stmt!=null) stmt.close();
if(conn!=null) conn.close();
%>
</body>
</html> -
Need to login again while opening a JSP page from inside Oracle Forms
Hi,
we are using EBS r12.1.1 on OEL 5.
Whenever we are trying to open java page from inside an Oracle Form a login page is coming again.And we need to login to view the page.Whereas when the same page is been opened from the home page itself it is opening fine.
Please help.Hi,
We've had similiar issues to this. Typically it's around the java version on the client machine being different to that on the oracle server.
We usually uninstall the client machines java (making sure all applications are closed first), then log back into forms so it downloads the java client again from the server.
Once it has done that, you need to go into the java control panel and turn off updates.
Hope that helps.
Cheers,
Russell H. -
How to open a jsp page inside a portlet directly ,Cannot find FacesContext
Hi
Thank you for reading my post.
I have a portlet (a jsf portlet build by JSC) , now i need to open a window that
will show some information , i managed to open the pop-up and pass some parameters to popup
but right now , i do not know what is my jsp file url
as you know portlets are deployed diffrent than plain web jsf application.
I find that if i use
http://localhost:28080/Adv/viewMessageDetails.jsp?messageID=10
it will open the page , but unfortunetly it return an error like :
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: javax.servlet.jsp.JspException
Cannot find FacesContext
Possible Source of Error:
Class Name: javax.faces.webapp.UIComponentTag
File Name: UIComponentTag.java
Method Name: doStartTag
Line Number: 405
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
and some stack trace.
how i can fix this problem ?
thank youIn portlet project, to navigate between pages, you should not use the URL property to link to a page. Instead, portlets use navigation via action handling. You use the Page Navigation editor to set up links to pages; that is, the navigation editor sets the action property.
Here is an example to hyperlink ans button to open a new page:
# From within the IDE, create a new portlet project. This action creates the project and one page, PortletPage1.jsp.
# Create a second portlet page, called PortletPage2.jsp, for the project.
# Drop a Hyperlink component onto the first portlet page, PortletPage1. (You can drop the Hyperlink on the page in the Design window or on the PortletPage1 node in the Outline window.) Change the Hyperlink's text property to Next Page.
# Drop a Button component (found in the Basic section of the Palette) onto the second portlet page, PortletPage2.
# Open the Page Navigation Editor. It displays the two pages (PortletPage1.jsp and PortletPage2.jsp) of the application.
# Click the PortletPage1.jsp icon in the Navigation window to expand it, and then drag a connector from hyperlink1 to PortletPage2.jsp. Change the name of the connector from case1 to Page2.
# Click the PortletPage2.jsp icon in the Navigation window to expand it, and then drag a connector from button1 to PortletPage1.jsp. Change the name of the connector from case1 to Page1.
# Run and deploy the portlet. The browser displays PortletPage1 and you should see the Next Page hyperlink. When you click the Next Page hyperlink, the Apache Pluto Portal server displays PortletPage2. Click the Page2 button to return to PortletPage1.
Sherry
Creator Team -
How can I link to a jsp page from another jsp page within websphere portal?
Afternoon all,
I have a websphere portlet which displays a jsp page. I want to put a hyperlink on the jsp page which when clicked will open another jsp page.
Does anyone know how to do this?
Thanks,
AlexThe anchor tag is the correct one for generating clickable links.
<jsp:forward> is for transferring control at the server end. Its when you decide to change which page you want to show the user. ie check user is logged in. If not then forward them to login page, else display current page.
I tried that. It does open the jsp page
but the place and page links in the portal theme get screwed up.Whats mucked up about them? Do they point where they shouldn't?
You might try using a <base> tag to set where relative links are resolved from.
Cheers,
evnafets -
Opening a web page in an applet
Some may recognize this as I have posted it before and got nowhere. So I decided to post it again to see if anybody could help me. I have made a few changes to my code, but no guarantees it's better.
public class FinalWindow extends Applet
private AppletContext appContext;
public void init()
java.net.URL url;
appContext = this.getAppletContext();
try
url = new java.net.URL("http://www.google.com");
} catch (Exception e)
System.out.println("Didn't work.");
url = null;
System.out.println("this");
try
if(url != null)
getAppletContext().showDocument(url, "_self");
//appContext.showDocument(url, "_self");
} catch (Exception e)
System.out.println("Error loading page.");
public static void main(String[] args)
FinalWindow fw = new FinalWindow();
fw.init();
}I have to things that i tried to use to show the web page in the applet, but they both produce NPE saying:
Exception in thread "main" java.lang.NullPointerException
at java.applet.Applet.getAppletContext(Applet.java:187)
at FinalWindow.init(FinalWindow.java:84)
at FinalWindow.main(FinalWindow.java:107)Let me know what ya'll think.wythe25 wrote:
No, I don't want the page to load in the browser window, I want it to load in the applet, as I said before.Your showDocument commands above would result in the target page replacing the page the applet is in, rather than opening the target page inside the applet.
To load a document inside the applet, might be achieved by using a JEditorPane to contain the HTML, then simply calling JEP.setPage(URL). Two things about that though:
1) An applet will need to be trusted in order to load documetns from foreign hosts.
2) Google frowns upon people reading their pages into any bot or software other than a standard browser.
I defined the main() method because that is the way I know how to do it. I'm not worried about having a main() in it right now. You should be. Combined applet/applications do make some sense during development - I do them quite often. But you need to realise that an applet launched that way will not be able to use the kind of things an embedded applet can normally expect to be able to access, such as the AppletContext. (1)
..I just can't figure out how to load a web page in an applet.
Basically making a web browser out of an applet that loads the page I tell it to in the code.JEditorPane (with a HyperlinkListener), trusted applet, not Google. And in fact, though the JEP is getting better over time, it is not generally considered to be good enough to use as the basis for a 'real world (wild web)' browsing component.
Edit 1:
(1) Having implemented a basic AppletContext for Appleteer , I can tell you it is not trivial!
Also, that code above was just one line short (the import for the applet package) of being an SSCCE *(<- link).* Please consider posting SSCCEs in future - you get better chance of help, faster.
Edited by: AndrewThompson64 on Nov 13, 2009 1:42 PM -
How can i redirect to my jsp page from servlet in init() method..Becoz that servlet is calling while server startsup..so im writing some piece of code in init() method..after that i want to redirect to some jsp page ...is it possible?
using RequestDispatcher..its not possible..becoz
RequestDispatcher rd = sc.getRequestDispatcher("goto.jsp");
rd.foward(req,res);
Here the request and response are null objects..
So mi question can frame as how can i get request/response in servlet's init method()..Hi guys
did any one get a solution for this issue. calling a jsp in the startup of the servlet, i mean in the startup servlet. I do have a same req like i need to call a JSP which does some data reterival and calculations and i am putting the results in the cache. so in the jsp there in no output of HTML. when i use the URLConnection i am getting a error as below.
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:707)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:705)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:519)
at com.toysrus.fns.alphablox.Startup.callJSP(Unknown Source)
at com.toysrus.fns.alphablox.Startup.init(Unknown Source)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
so plz do let me know how to call a jsp in the start up of a servlet.
Thanks
Vidya -
When I open Safari 5.1.5, it automatically opens all the pages from my previous session. Can I turn off that feature , and how?
Hi...
Open System Preferences > General
Deselect: Restore windows when quitting and re-opening apps
Restart your Mac. -
How to invoke a jsp page from java which does not use Servlets?
Hello,
I am working in Documentum. I am trying to invoke a jsp page from another java page which does not use Servlets.
I tried doing this by just instantiating the java class related to the jsp page from my present java class.In my java class related to the jsp page, I have defined onInit() and onRender() methods.
Now, I am trying to call the jsp page from my present java class by just instantiating the java class related to the jsp page. This throws a java.lang.NullPointerException.
Any comments or suggestions on this.Any help would be appreciated.
Thanks,
Ranjith M.VRanjithM.V wrote:
Hello,
Thanks for the reply. One important thing I forgot to mention. I am also using xml component.And?
As this is the standard way used for coding in Documentum, I do not want to use Beans.Well, JSP's should, in and of themselves, contain no functional code. It should all be only display.
Without that is it not possible?What did I say? I said,
masijade wrote:
It is possible, but I very, very, very, much doubt, that it would be worth the effort.And, if you don't know how, a forum is not truely going to be able to help you implement it (at least not in less than a few years time, at which point it would be outdated).
>
Appreciate your understanding and help.
Thanks,
Ranjith M.V -
How to call a jsp page from oaf and run in jDeveloper
Hi all,
I created sample jsp and then tried.
String temp = "sample.jsp?";
pageContext.setForwardURL(temp,
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
It worked.
But when i tried with one of the custom page that i downloaded from server it is giving error.
But now i need to call that page.
Its Code is given on below link:
Re: how to call a jsp page from oaf
Please help me to do this.
Thanks in advance.
Regards,
RajRaj,
1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
(i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
4. There is no problem in the way you are calling jsp page from OAF page.
regards,
Anand -
How to call a JSP page from Applications menu?
Hi partners,
I am still looking for "how to call a JSP page from Applications menu?", I mean instead of calling a form, I want to call a JSP page which is staying in a OC4J repository which is located in another server.
Any idea will be really appreciated.
Thanks in advance.
Frank Mtz.Hi Frank,
if u know the solution please share it with me. i'm looking for the same scenario.
thanks in advance,
anish -
Opening a WEB page from FORMS CS & WebForms
Hi,
We would like to open a Web Page from a forms running in
client/server as well as from a form runningover the web.
Over the web, we plan to use SHOW_DOWUMENT (Even tough it seems
broken, on forms 6.0, the only way we have got it working was by
using the parameter that overwrites the current page (the form),
we cannot have it open an URL in another window)
In C/S mode, the SHOW DOCUMENT does not work. What is the proper
way to lauch an URL in a browser in C/S mode ?
Is there a way to determine if we're running in CS mode or Web
Mode ? We would like to use the same code both on the web and in
C/S
Example pseudo code:
if (Running in CS Mode) then
open the URL using C/S method
else
open the URL with show dowument
fi
Thanks
nulluse '_blank' as parameter, not '_self'.
Guy Dallaire (guest) wrote:
: Hi,
: We would like to open a Web Page from a forms running in
: client/server as well as from a form runningover the web.
: Over the web, we plan to use SHOW_DOWUMENT (Even tough it
seems
: broken, on forms 6.0, the only way we have got it working was
by
: using the parameter that overwrites the current page (the
form),
: we cannot have it open an URL in another window)
: In C/S mode, the SHOW DOCUMENT does not work. What is the
proper
: way to lauch an URL in a browser in C/S mode ?
: Is there a way to determine if we're running in CS mode or Web
: Mode ? We would like to use the same code both on the web and
in
: C/S
: Example pseudo code:
: if (Running in CS Mode) then
: open the URL using C/S method
: else
: open the URL with show dowument
: fi
: Thanks
null
Maybe you are looking for
-
Started browser as usual. Browser informed me that the 3.16.7 version was not secure; I should upgrade to 4.0 First problem was the kaspersky was not compatible. Second problem was hp photo not compatible. Third is the browser user interface is too d
-
ITunes on Windows will not update any iOS-device
I have three iOS-devices. An iPod Touch 3rd gen (ver 3.1.3), and iPhone 3GS (4.2.1) and iPad. It's been a really long time that I remember that iTunes offered to update any of them. iTunes itself has been regularly updating and is now 10.5.1.42. The
-
OraOLEDB.Oracle generates error when retreiving a table with anydata col
Hi, I use OraOLEDB.Oracle to connect from VB6 to oracle, and ADODB recordsets. I have a procedure that returns a table (using a cursor), the table has a column of type sys.anydata. I get this error: ROW-00004: Invalid column datatype I have to mentio
-
I have setup an Email Endpoint to invoke the process. Once the email document is received, I have set it to "Assign a Task". The process in invoked, with the above error. The variable's input parameter in the Endpoint is "*.pdf" and the variable type
-
SRW.APPLY_DEFINITION cause (core dumped) Segmentation fault
When I run report under Concurrent manager, i.e. within Oracle Applications I get this error: (core dumped) Segmentation fault. I use SRW.APPLY_DEFINITION in After Parameter Form. When I remove SRW.APPLY_DEFINITION report runs fine. I tried following