How to call html page from an applet
I want to call a html page after the user presses a OK button in the applet. please help me in this.
In you actionPerformed put:
AppletContext appContext=getAppletContext();
URL myURL= new URL("http://www.javasoft.com");
String target="_self";
appContext.showDocument(myURL,target);P.S. If you want to pen the URL in a new Browser window
use
target="_blank";
Similar Messages
-
How to Call HTML Layers from Flash?
how to Call HTML Layers from Flash? i need a help on example
or script.What do you mean html layers? You can call JavaScript on the
page using the
ExternalInterface class. There's examples in Help if you look
up the EI
class, and it's call method.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
How to call html page with in the flash
I am new to action script, can some one guide me how to call html page with in the flash. lets say i have movie clip having instance name as "news_feed", I need to disply the html page in this news_feed. kindly help me, thanks alot
some one tell me, weather it is possible or not ??
-
How To Call HTML Page Through Java Swing Page ???....
Hi All ;
Please Can You Tell Me How To Call HTML Page Through Java Swing Page ....
Regards ;Hi,
you can use HTML fragments on a panel.
http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
However, to integrate a browser you need 3rd party software like IceBrowser
If you Google for: HTML Swing
then you find many more hints
Frank -
How to call HTML page through JSP ?
i want to know Hw to call Automaticly a HTML page through JSP.
example :-
have u seen yahoo login wen u put your ID & pass & Clock on login button it will chack ID & pass in the database & if it is correct then It will call A Mail Home Page.
that's same i want to do.
i have a jsp page which chacks the userID & Pass & call the first.html page
but i dont know how to call html page automaticly.
Any one can help me
what i think is this
tell me is it right or not
suppose i have made a variable
String add = "first.html"
after chacking userID & pass
if(idpass == true)
add;
if(idpass == false)
erre;
it will work or not pl tell meIf you do the redirect with javascript, the user cannot resubmit his login when he presses the refresh button. When he does press refresh, he only refreshes the redirect, not the form post that was before it. When he presses back the redirect will also kick him back in stead of going back to the login page. A simple javascript redirect page would look like this:
<html>
<body onload="document.location.href='myhtmlpage.htm';">
</body>
</html>But that is only if you care about resubmits of course. -
How to extract HTML page from the internet
i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?
You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method... -
How to call JSP page from applet?
I have some page1.jsp from which I call applet.
User works with this applet but some information does not in date inside applet.
So user click on some component at applet (some button etc.) and now I would like to do this:
1) open new window;
2) call page2.jsp at this new window.
The reason is that page2.jsp will read some data from database and then displays it in HTML inside page2.jsp itself. It is not necessary to pass these date back to applet for displaying them inside of applet.
So user then can have 2 windows: page1.jsp with applet and page2.jsp with some details information.
But I DO NOT know how to call page2.jsp from applet, and do ti in a new window. Is it possible and how?
Thanks
Mirekimport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MainMenu extends JApplet implements ActionListener
private JMenuBar mbar;
private JMenu Master,Leave,Report,Logout;
private JMenuItem UserMaster,DeptMaster,DesignationMaster,LeaveAvailable,LeaveApply,Generate;
private JPanel jp;
public void init()
mbar=new JMenuBar();
Master=new JMenu("Master");
Leave=new JMenu("Leave");
Report=new JMenu("Report");
Logout=new JMenu("Logout");
UserMaster=new JMenuItem("UserMaster");
UserMaster.setMnemonic('U');
DeptMaster=new JMenuItem("DeptMaster");
DeptMaster.setMnemonic('D');
DesignationMaster=new JMenuItem("DesignationMaster");
DesignationMaster.setMnemonic('D');
LeaveAvailable=new JMenuItem("LeaveAvailable");
LeaveAvailable.setMnemonic('L');
LeaveApply=new JMenuItem("LeaveApply");
LeaveApply.setMnemonic('L');
Generate=new JMenuItem("Generate");
Generate.setMnemonic('G');
Master.add(UserMaster);
Master.add(DeptMaster);
Master.add(DesignationMaster);
mbar.add(Master);
Leave.add(LeaveAvailable);
Leave.add(LeaveApply);
mbar.add(Leave);
Report.add(Generate);
mbar.add(Report);
mbar.add(Logout);
UserMaster.addActionListener(this);
DeptMaster.addActionListener(this);
DesignationMaster.addActionListener(this);
LeaveAvailable.addActionListener(this);
LeaveApply.addActionListener(this);
Generate.addActionListener(this);
Logout.addActionListener(this);
mbar.setVisible(true);
Container con=getContentPane();
con.add(mbar,BorderLayout.NORTH);
public void actionPerformed(ActionEvent ae){
if(ae.getSource()==UserMaster)
} -
How to call a page from an iview
HI SDNs
I have a requirement as follows .
I need to call a page from an iview . for that i developed a html and i gave the hyperlink to call the page.
When i click on hyperlink it is calling page but iviews are not displayed. it is showing masterhead and DLN and but iviews are not shown
Is there any soultion with out solution to display the iviews. i Appreciate if you help at the earliest.
Thanks
RamanaDid you build your hyperlink using "NavigationTarget"?
ex:
http://myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole/myPage
check the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/43/014421d21d6fade10000000a11466f/content.htm
Greetings,
Praveen Gudapati -
How to Create HTML page from portal
Hi
I have a requirement to create html pages from portal.
There will be an author who can choose document type as HTML
and then he will write html codes on saving it should be saved as HTML doc in UCM.
and publisher should be able to display it on portal(may be using content presenter).
please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
ThanksA better way would be to create the page using approach in this blog:
https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
That way the page can be edited inline and the html author need not upload html to ucm everytime. -
How to call OAF page from plsql
Hi OAF Guru's,
I have a requirement to call a OAF page from a plsql procedure/function, I know how to call procedure/function from OAF pages, but I don't have any idea about how to call a OAF page from plsql.
Any help is appreciated.
Thanks in Advance.
Raja.Hi,
What is your exact requirement. Why do you want to call a OA page from PL/SQL. Please share your requirement clearly.
HTH,
Syed. -
How to call and run HTML pages from an Applet?
I want to run another HTML page when pressed a button in an Applet,how can i do it?
Are you looking for this?
applet.getAppletContext().showDocument("http://cullenwines.com.au", "_top"); -
Call a html page from a applet
did somebody can tell me how call any html page to display in the current window of the browser when the user push a Button in one applet
http://forum.java.sun.com/thread.jsp?forum=31&thread=566530&start=1&range=1
or
http://forum.java.sun.com/thread.jsp?forum=31&thread=566059&tstart=0&trange=100 -
How to call html webpage from forms 9i
Dear friend,
I have installed oracle 9i Forms and have developed an application wherein, the first page is in html and from there goes to my application. Everything works well except when i exit from the forms it should go to the html page but instead a blank webpage on runtime occurs. Please tell how to get it done.
When i installed oracle 9i forms to single dedicated server, on runtime it displays nothing instead asking atlease one computer to be connected through network and ie displays Offline not connected to internet explorer. How could I work on forms 9i without getting connected to network and use runtime on webpage.Hi,
you can use a post form trigger and call web.show_document('URL Here','_this');
Frank -
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 call BSP pages from a BSP application of another package
Hi,
I have a BSP application in one package and I want to call pages from another BSP application in a different package.
Is it possible? How it would have to do it?
Thanks in advance
RegardsHi,
You cannot call a page fragment in a seperate window or seperately in the same window...
Page fragment is used only for including a fragment in your page....
It is not a seperate page..!
To call a page fragment, you have to use the include directive...
eg :
<%@include file="Carrier_report_logo.htm" %>
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.
Message was edited by:
Tatvagna Shah
Maybe you are looking for
-
Problem in creatinga sales order idoc into XML file in the same appl server
Hai....friends.... I am tring to send an sales order as iDOC to a xml port in the same application server.... 1. have created a xml port with path..\usr\sap\RRM\SYS\global\. 2. assigned it to logical system. 3.Have a RFC destination of TCP/ip(LOCAL
-
How do I get my apps back on my screen after OS update?
How do I get my apps to appear back on the screen after the new 7.0 OS upgrade?
-
Satellite P75-A7200 headphone jack not recognized at all
model number PSPLNU-00H004 i've tried updating all drivers etc, still will not pick up headphones when i plug them in. scanned for new devices in device manager and it just sees microphone and speakers, nothing else. any help would be appreciated
-
Hello, I want so split a text into single text fields, every row for a new text field. Is there a function to make this possible?
-
REP-3300: Fatal error in Toolkit II (UI) UI-1: Undefined failure in UI
Hi, When I try to copy and paste in a REPORT, 9i. An error occured as: REP-3300: Fatal error in Toolkit II (UI) UI-1: Undefined failure in UI Any suggestions how to deal with it? Thank you in advance. Jimmy