Re: String -> Integer/Double/etc
> Hello > > Try Integer.parseInt( String value ), or Float.valueOf( String > value ) functions. > > I think these will be good for you. > > Zoltan Tar > > -- > From: Maarten van Leunen[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: 1998. szeptember 8. 10:50 > To: [EMAIL PROTECTED] > Subject: String -> Integer/Double/etc > > Howdie, > > Isn't there a way for a String to be transported to int or double or > float or something? > > The way I'm doing it now is by creating an Object Double, and > initializing it with a String. Then using a method of Double to > retrieve > the value as an ordinary double. This is a bit of a hassle. > > -- > Maarten van Leunen > > Student - Fontys Institute of Technology Eindhoven > e-mail: [EMAIL PROTECTED] > http://www.il.fontys.nl/~maartenl > http://lok.il.fontys.nl/ > >
RE: Printing from browser
Sorry for my English. I had this problem a month ago. I got this solution to it: I suggest to read the Signing and Verifying JAR Files tutorial, this is a part of the Java Tutorial on java.sun.com In short: I use the Java plugin, and signed jar file. Create a certificate, with the javakey utility. Then make a jar file from your class fajl. With javakey, you can sign the jar file. On client you must have this certificate too. It is suffice: copy your javakey database file to the client, and make changes in the client java.security file. (lib/security) Zoltan TAR > -- > From: Laura L. Evangelista[SMTP:[EMAIL PROTECTED]] > Sent: 1998. október 14. 9:16 > To: Java Linux > Subject: Printing from browser > > Java people, > > I have an applet that needs to print components (reports) ... It > runs fine with appletviewer, but running it through a browser > (Netscape 4.05), I get security errors. > > How can I get my applets to print from a browser? > > Than'x for any help. > > -- Laura >
FW: Some weird security problems in netscape
> From: Tar Zoltán (István út) > Sent: 1998. november 9. 16:13 > To: '[EMAIL PROTECTED]' > Subject: RE: Some weird security problems in netscape > > > Use Java plugin and signed jar files, then you never have > security problem. > > You can find more from signed jar, at java.sun.com, in the > Tutorial section. > > Zoltan TAR. > > -- > From: Harold G. Andrews II[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: 1998. november 9. 15:42 > To: Dimitris Vyzovitis; Java Linux List > Subject: RE: Some weird security problems in netscape > > I ran into a similar problem when I had two applets in the same HTML > document and wanted to send mouse events from one to the other via > network sockets (I was doing it to prove to myself that I could, not > for any other really practical purposes). I could get it to work okay > using appletviewer, and Microsoft's Internet Explorer Version 4 (after > disabling the network security checking). The only thing I've been > able to figure for Netscape, however, is that you have to have your > applet signed by some kind of certificate authority. This costs > money, so I've never done it. If there is a less expensive (i.e. > free) way of doing this, I don't know. If anybody out there has a > notion how to completely disable the network security checking in > Netscape, I'd like to be your friend. Thanks > > > -Andy > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Dimitris Vyzovitis > Sent: Sunday, November 08, 1998 7:55 PM > To: Java Linux List > Subject: Some weird security problems in netscape > > > Hi ! > I am having some weird security problems with netscape 4.5 > I have an applet that tries to fetch some data over the net. The > data are located in the same host as the applet and under its > codeBase. > It is my conception, that the applet should download the data > normally. > But this is what I get: > > netscape.security.AppletSecurityException: security.class from > local disk trying to access url: > http://egnatia.ee.auth.gr/~dviz/dip/images/lena256.raw > at > netscape.security.AppletSecurity.checkURLConnect(AppletSecurity.java:9 > 44) > at > java.lang.SecurityManager.checkURLConnect(SecurityManager.java:1239) > at netscape.net.URLConnection.connect(URLConnection.java:79) > at > netscape.net.URLConnection.getInputStream(URLConnection.java:198) > at java.net.URL.openStream(URL.java:606) > at dip.applets.DIPApplet._fetchImage(DIPApplet.java:131) > at dip.applets.DIPApplet._loadImages(DIPApplet.java:121) > at dip.applets.DIPApplet.init(DIPApplet.java:63) > * at > netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(DerivedApp > letFrame.java:553) > at > java.awt.EventDispatchThread$EventPump.dispatchEvents(EventDispatchThr > ead.java:81) > at > java.awt.EventDispatchThread.run(EventDispatchThread.java:135) > at > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Deriv > edAppletFrame.java:911) > > Has anybody got a clue about what this means and how I could > work around it? > > > -- > Dimitrios Vyzovitis -- Information Processing Laboratory > [EMAIL PROTECTED] -- Aristotle University of Thessaloniki > [EMAIL PROTECTED] -- Dept. of Electrical and Computer > Engineering > http://egnatia.ee.auth.gr/~dviz > > > >
https
Hello I'm working on a project which needs to send information such as credit card number to a web server, I'm thinking of using protocol https, does java support https? If it does, how? Zoltan TAR
RE: https
It 's ok. But I use the Sun's plugin, not the Netscape built-in Java plugin. Are you sure that, it is true for the Sun's plugin? I didn't find any class that contains SSL, or HTTPS in their name. Zoltan TAR > -- > From: Massimo Conti[SMTP:[EMAIL PROTECTED]] > Sent: 1998. december 3. 11:14 > To: [EMAIL PROTECTED] > Subject: Re: https > > <> > Hi, > > > If I remember correctly, if an applet is loaded through https, > > any socket opened by this applet will use https by default. > > > > I could be wrong... > > No it is right. I have made some tests opening a secure site from an > applet running in a browser (Netscape) and it works fine. > > Bye > Massimo >
RE: How can I debug Java Program??
> -- > From: Ernst de Haan[SMTP:[EMAIL PROTECTED]] > Sent: 1998. december 11. 13:43 > To: Han,sang-hyuck > Cc: John Summerfield; Christopher Hinds; [EMAIL PROTECTED]; > Java-Linux > Subject: Re: How can I debug Java Program?? > > 4) Use the JDK Java debugger \:( (wouldn't do this if I were you) > I use JDK 1.2 (or Java 2?) debugger, it has got a lot of functionality that in Jbuilder hasn't. > > who do you know about Degugging Java Program.?? > > any tool or any tips. > > > > anything is OK. > > > > please teach me about your secret skill to program Java.. > > > > thanks alot .. > > > > have a nice day.. > > > > - > > home : http://rtislab.chungnam.ac.kr/~java > > mail : [EMAIL PROTECTED] > > > >
