How to get IP address from java applet
is there anyway to find the IP address of a person who is on java applet on some chatting website (not me, but the other users)...... well, this question may sound stupid, but am actually new to this, so please help.
:)
>
is there anyway to find the IP address of a person who is on java applet on some chatting website (not me, but the other users)...... >Sure. Ask whoever it is you are chatting to.. "wots ur ip?". Do not be surprised when they 'tell you where to go'.
Similar Messages
-
How to get MAC address from IP address in LAN
Hi all,
How to get MAC address from IP address in LAN (windows or any OS), I would have all IP addresses of my LAN, so I would like to know all MAC address.
Code examples are highly appreciated.
Thanks & Regards,
abel...abel wrote:
Yeah that is only working for local system, but how to get remote system's MAC ..?
Thanks for quick reply ...
Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
As a curious aside how did you manage to get the list of IPs? -
How i get hardware info with Java Applet
Hello Everybody.
first I am sorry for my english. This my first topic. I am a php developer and learning Java. I am developing a Java Applet.
Can i get client hardware info with Java Applet
Ýf i can How i do get hardware info with Java Applet.
I need sample code or documentation.
Thanx.TrojanMyth wrote:
Hello;
Can i get hardware info with Java ?? Have not a know people ?Applets are restricted, unless, as already noted, they are signed and accepted by the user. See
http://java.sun.com/docs/books/tutorial/deployment/applet/security.html
http://java.sun.com/docs/books/tutorial/deployment/applet/properties.html
In general, since Java is designed to run on multiple operating systems and machine architectures it does not provide much access to the underlying hardware. As mentioned, you can access the os via methods in the java.lang.ProcessBuilder and Runtime classes. -
How to get IP address from login screen in 10.7 Lion
Hi All,
In 10.7 I didn't find any option to get IP address from login screen as used to got in 10.4,10.5,10.6
ThanksJason,
is there any way to make that example
work with release 6.0, preverribly
with IE5 (native VM)?
The WHEN-CUSTOM-ITEM-EVENT Trigger
doesn't seem to fire.
Thanks
Anton Weindl
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jason Pepper ([email protected]):
If you are using web deployed forms then you need to use a javabean to obtain the IP of the local machine - you can get one that does it here..
http://technet.oracle.com/sample_code/products/forms/listing.htm#pjcexamp
If you are running client server then there is a utility in d2kwutil.pll that allows you to read the registry and do things like get the IP address. d2kwutil is shipped with your copy of Forms - just have a look for it - the code is self documenting, but there is also a manual you can read too.
Jason Pepper
Principal Product Manager
Enterprise Internet Tools
Oracle Corp<HR></BLOCKQUOTE>
null -
How to get return value from Java runtime.getRuntime.exec?
I'm running shell commands from an Oracle db (11gr2) on aix.
But, I would like to get a return value from a shell comand... like you get with "echo $?"
I use a code like
CREATE OR REPLACE JAVA SOURCE NAMED common."Host" AS
import java.io.*;
public class Host {
public static int executeCommand(String command) {
int retval=0;
try {
String[] finalCommand;
finalCommand = new String[3];
finalCommand[0] = "/bin/sh";
finalCommand[1] = "-c";
finalCommand[2] = command;
final Process pr = Runtime.getRuntime().exec(finalCommand);
pr.waitFor();
catch (Exception ex) {
System.out.println(ex.getLocalizedMessage());
retval=-1;
return retval;
/but I do not get a return value... because I don't know how to get return value..
Edited by: user9158455 on 22-Sep-2010 07:33Hi,
Have your tried pr.exitValue() ?
I think you also need a finally block that destroys the subprocess
Regards
Peter -
How to get the parameter from Java Script into the Parameter crystal Report
Hi All,
Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
FYI.
Java script sends the right parameter value.There is no issue in java script.
This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
Please clarify? -
How to get stylesheet object from JAVA RESOURCE stored in DB
Hi,
I stored a xslt file in the database and have a JAVA RESOURCE file now. How can i get a stylesheet object from this resource file?
I took the following class to get an impression how to get the contents of the resource but -although the name of the resource was spelled correctly- i got a file not found exception.
Whats wrong?
public class PrintRessource {
public static void print (String p_ressource){
try {
Class c = PrintRessource.class;
System.out.println(c.toString());
InputStream file = c.getResourceAsStream(p_ressource);
if (file == null)
throw new FileNotFoundException("XSLT file not in DB");
byte[] buffer = new byte[4096];
int bytes_read;
while ((bytes_read = file.read(buffer)) != -1)
System.out.println(new String(buffer, 0 , buffer.length));
catch (Exception exp) {
System.out.println(exp);
ThanksThe code works as is. I just forgot to add the slash in front of the Resource file name.
-
How to get MAC address from client machine ?
Hi dear,
We are implementing security measures for a banking system, so it is required that we track the MAC address of the registered clients along with other parameters. How do we get the MAC address from client machine using ADF or running scripts in client side?
thanks allHi,
Welcome to OTN.
Your question has nothing to do with ADF as such. Googling would give you plenty of such topics.
-Arun -
How to get MAC address using java code
hi friends
please write me, How can I get MAC Address of local machine using java code.I don't want to use JNI.
Please reply me. Its urgent for me
Thanks in advance
USYou have several ways under *nix
ifconfig -a | grep HWwill output something like
eth0 Lien encap:Ethernet HWaddr 00:11:FF:74:FF:B4combined with Runtime.getRuntime().exec("")and Process.getInputStream()you should be able to read it easilly.
Under Windows (and Linux of course) try jpcap (http://sourceforge.net/projects/jpcap)
You can also use jnative as a generic tool (http://sourceforge.net/projects/jnative)
--Marc (http://jnative.sf.net) -
How to get return value from java and read by other application?
i want to read return value from java and the other application read it.
for example:
public class test_return {
test_return(){
public int check(){
return 1;
public static void main(String args[]){
new test_return().check();
}from that class i make as jar file. How to read the return value (1) by other application?
thx..If your installer is requiring some process it invokes to return a particular value on failure, then the installer is seriously broken. There are a bazillion commands your installer could invoke, and any of them could fail, which in turn could invalidate the entire install process, and any of them could return any value on failure. The only value that's consistent (in my experience) is that zero means success and non-zero means failure, with specific non-zero values being different in different programs.
About the only control you have over the JVM's exit code is that if your main method completes without throwing an exception, the JVM will have an exit code of 0, and if main throws an exception (either explicitly or by not catching one thrown from below), it will be non-zero. I'm not even sure if that's guaranteed, but I would guess that's the case.
EDIT: I'm kind of full of crap here. If you're writing the Java code, you can call System.exit(whatever). But nonetheless, if your installer requires certain exit codes from any app--java or otherwise--you have a problem.
Edited by: jverd on Oct 29, 2009 1:27 AM -
How to get Plant address from SAP R/3 to SRM
Hi Gurus,
We need to retrieve the plant address from SAP R/3 to SRM and display it in the output list of the report (SRM).
Suggest any standard FM or should we need to create a Custom Remote enabled FM and put the select query to get the address.
Regards
PaulHi Paul,
Try using the RFC_READ_TABLE function module...
Pass the table name as t001w which contains the plant details.
Hope this helps.
Thanks,
Pradeep -
How to get GPIB address from VISA resource
Hi All,
Is there a way (CVI API) to get the GPIB address of a GPIB instrument from an alias or a VISA resource name defined in MAX?
Thanks,
Rick.Thanks mkossmann, I was actually looking for an api that would get the gpib address from the visa resource name defined in MAX which has already scanned in the gpib instruments.
I guess it may not be good that way even if there's such an api because instrument gpib address might get changed and if MAX has not been asked to rescan then the address will be out of sync. -
How to get MAC Address from device?
Does any one knows, how we can get programmatically the MAC address of Blackberry device?
Is it possible to get it through BES IT Policy?
- Thanksabel wrote:
Yeah that is only working for local system, but how to get remote system's MAC ..?
Thanks for quick reply ...
Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
As a curious aside how did you manage to get the list of IPs? -
How to get UCM content from Java class?
Hello,
I need to get UCM content from backend I mean from the Java class. Is there any way to do that? If anybody please give any resources it will be very helpful.
Thanks and regards.Hi
You mean to say that with JAVA API you want to search and retrieve the contents ? If yes , then you should use RIDC API for the same and that way you can use to do all the operations on UCM from the JAVA Api .
Search this forum and you will get sample codes for the checkin , search , checkout operations .
Documentation is available at : http://docs.oracle.com/cd/E14571_01/doc.1111/e16819/toc.htm
Thanks
Srinath -
How to Get IP address from 6i?
I would like to know command or syntax for get IP ADDRESS of computer?
SELECT SYS_CONTEXT('USERENV','IP_ADDRESS')
FROM DUAL;
It can't work in syntax of FORM6i.
nullJason,
is there any way to make that example
work with release 6.0, preverribly
with IE5 (native VM)?
The WHEN-CUSTOM-ITEM-EVENT Trigger
doesn't seem to fire.
Thanks
Anton Weindl
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jason Pepper ([email protected]):
If you are using web deployed forms then you need to use a javabean to obtain the IP of the local machine - you can get one that does it here..
http://technet.oracle.com/sample_code/products/forms/listing.htm#pjcexamp
If you are running client server then there is a utility in d2kwutil.pll that allows you to read the registry and do things like get the IP address. d2kwutil is shipped with your copy of Forms - just have a look for it - the code is self documenting, but there is also a manual you can read too.
Jason Pepper
Principal Product Manager
Enterprise Internet Tools
Oracle Corp<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Why do we need SSIS and star schema of Data Warehouse?
If SSAS in MOLAP mode stores data, what is the application of SSIS and why do we need a Data Warehouse and the ETL process of SSIS? I have a SQL Server OLTP database. I am using SSIS to transfer my SQL Server data from OLTP database to a Data Warehou
-
Missing icons, cannot open menu items
Yesterday I updates my software and when I restarted my computer I encountered several problems. 1) My hard drive icon is not shown on my desktop 2) I cannot open anything in the menus of the "Finder" toolbar" 3) I cannot not move or open any documen
-
EIF Export/Import Only Metadata
The following export statement 'export' entire AW with data. And import also imports everything. exec dbms_aw.execute('export all to eif file ''MYDIR/TEST_OLAP.eif'' api'); exec dbms_aw.execute('import all from eif file ''MYDIR/TEST_OLAP.eif'' api');
-
Can't select certain rows in datagrid
Hello, I have a datagrid with 3 columns, that works great until you have 2 rows next to each other w/ the exact first name and last name. When that happens, I can select the top row but I can't select the bottom row. If I trace the onPatientSelec
-
HI Experts, I have a problem, i am posting in this forum too. I am on Ep6.0 SP20. and trying to implement leave request. Necessary workflow templates are activated., in swfvisu, checked the launching of each task. I see the entries for approval task: