|
How do I open up a URL connection to a website that requires authentication? I successfully opened up a URL Connection to a site (eg www.bloomberg.com) by creating a URLConnection Object. After opening a connection to the site, I parsed the site to grab some information out of it. I did all this in a Java Bean.
Now, I need to open up a connection to a site that requires a UserID and a password? I have the User ID and password. How do I go about doing this?
Please Help
Thanks
Sanchita
|
|
|
|
|
My application is running on iPlanet6.0 SP2 under platform Solaris 2.8, after about twenty hours, iPlanet will crashed with error "SIGSEGV 11" or "SIGBUS 10", I don't where is the problem, it's the error of my application or the bug of the iPlanet. Any help or suggestion will be appericated, thanks a lot.
|
|
|
|
|
Hi All,
I want to customize the windows common print dialog. I know how to
do this in vc++, but i am not sure how to implement the same functionality
in VJ++.
Any help in this regard would be highly appreciated.
Regards,
Mukesh
|
|
|
|
|
I would like to know how a server can dial in into a remote client using Java? Please help and thank you.
yee fui
|
|
|
|
|
To whom it may concern
My name is Monica Marion and I'm the Producer of the Developer channel for ZDNet Australia (www.zdnet.com.au).
I'm currently looking to expand the channel's focus and direction. Part of this expansion involves an increased level of input from the local developer community and we're looking to get a local Java guru on board to write a regular column for us. So I was wondering if someone you know or yourself would be interested in writing something for us?
Could you please contact me at your earliest convenience on monica.marion@zdnet.com.au
Kind regards
Monica Marion
ZDNet Australia
http://www.zdnet.com.au
monica.marion@zdnet.com.au
|
|
|
|
|
I'm a web programmer who doesn't have that much experience with Java. I'm looking to develop an American Football Simulation web application, and I was wondering if anyone knew if it was possible with Java, and if it IS possible, how complicated would it be?
Thanks for any replies.
jul
|
|
|
|
|
It certainly would be possible. How difficult would depend on your programming knowledge and on the specification for the simulation. Have you done any Java or C++? If not then it'll be a fairly large task.
Michael
|
|
|
|
|
Hi! I have such problem. It is necessary to update a part of page on the client (value of several ASP functions) by the timer. Updating all page is extremely undesirable. Could anybody give me good advice?
|
|
|
|
|
You could use a DIV tag and change the inner HTML. in JavaScript:
document.all.tagName.innerhtml = "Some HTML";
Josh Koppang
|
|
|
|
|
faq forum java string tokenizer improve separator consecutive delimiter parse
java string tokenizer improve separator consecutive delimiter comma substring enhance whitespace preceding count parses parser side-by-side null returned between
String Tokenizer Java 1.1 improved
==================================
by modifying Tokenizer from JDK 1.31 to run under JAVA 1.18
Interface Iterator and following function removed:
public void remove()
{
throw new UnsupportedOperationException();
}
OPAT Atraxis/EDS, opat@atraxis.com / opat@eds.com M.Noerlinger A.Kienast
Greetings
Andrew
|
|
|
|
|
I'm trying to set up a fairly sophisticated user interface from an applet running under Internet Explorer 5+ (without the java plugin).
javax.swing.* appears to be unavailable so I've been working with
com.ms.ui.*
Trouble is I've found no documentation for these classes beyond the bare definitions I get from J++ and few examples. I'm working largely by trial and error.
I'd like to put a file and directory selection window on the applet form (rather than using the FileDialog). (Yes, it's a signed applet).
Has anyone located any documentation for this stuff? This is an extremely frustrating way to work.
|
|
|
|
|
The MSDN library that you can buy, or it comes with Visual Studio has massive amounts of documentation. It isn't free, however. It may be worth it if it allows you to do it much faster. Try Microsoft Developer Network to see if there is anything on there
Josh Koppang
|
|
|
|
|
Hello,
I am very new to java.
I want to call a C-dll function from my java code and I don't know how. Can you please help?
Thanks.
Where there is a WISH, there is a WILL.
|
|
|
|
|
There are facilities for this kind of thing in the MS version of the java engine. It's documented on the microsoft java site. Basically microsoft have put in some naughty java extensions for this purpose.
You do things like
<br />
<br />
static native int MessageBox(int hwndOwner, String text, String title, int style);<br />
(This must be in a class definition, of course).
I rather doubt there are any facilities to do this kind of thing in the Sun java engine. It's too machine dependant.
|
|
|
|
|
Malcolm McMahon wrote:
I rather doubt there are any facilities to do this kind of thing in the Sun java engine. It's too machine dependant.
Yes, there is. It's called Java Native Interface.
|
|
|
|
|
That doesn't look like it would allow you to access an existing DLL though. Only one specially written for this purpose. Of course you could write an interface from there to a standard DLL.
|
|
|
|
|
That's right.
I found JNI but it sounds like it is very slow.
And you can't use existing dll.
1.You write the native methods declaration in a java class
2.Then you compile the java class (javac)
3.Generate a header file from this class using javah -jni ...
4.include this header in you dll project and provide and implementation for the generated header functions.
5.Rebuild your dll
From this point, you can use the dll via the java class methods we wrote at step 1.
I tried using JNI. It works because I could change the source of the dll and I wanted to use. But it is surprisingly slow. Now I am looking forward to using sockets.
Thank you.
Where there is a WISH, there is a WILL.
|
|
|
|
|
I'm currently developing an app that invokes a JVM from C++. The app then calls a bunch of java methods. Unfortunately, somewhere down the line, an exception has occurred in java. I'm using the env->ExceptionDescribe() function, but it only outputs to stderr (of this i'm not sure). Unfortnately, I'm running the C++ directly from Matlab (Via a mex function interface), so there is no console window in which to view exception message. Is there anyway to intercept/view the exception message that JNI so thoughtfully prints out to stderr?
|
|
|
|
|
I'm looking for a Java compiler. To improve performance of a Java based application I would like to compile the code in machine binary code - not in bytecode. I've been looking around for that compiler on the Web but couldn't find any clue.
There used to be a Java compiler called SuperCede and another with Visual Cafe but they don't seem to be maintained anymore.
So is there still a serious Java compiler somewhere ? ...and does it really improve the speed of a Java application ?
I know that this is not in the good way to deal with Java which is natively a multi-platform based language, but Windows is the only platform for my clients )
Yarp
|
|
|
|
|
There's GCJ, but it's not (yet) ported to Windows.
|
|
|
|
|
The GNU products are always good quality ones. It's obviously a challenge to compile the entire Java class libraries. I'll closely follow GCJ.
Thanks
Yarp
|
|
|
|
|
Can it be done? Help would be very appreciated.
|
|
|
|
|
does anyone know of a script that will interact with a certain program, recording certain tasks completed, like a gaming ladder.
"To wonder is to begin to understand"
|
|
|
|
|
i know a web page with a field entry and a number button pad with 9 numbers on it. 3 numbers pressed in the rite order will result in the code being cracked... ive tried viewing the source code, and its got some explanation of the code in java, but i dont get it, any help will be greatly appreciated.
|
|
|
|
|
Post a link to the site.
Jon Sagara
"After all is said and done, usually more is said than done." -- Unknown
|
|
|
|