473,544 Members | 143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
1
2,466
thread by: James A. Donald | last post Jul 17 '05 by: Thomas A. Li
I have an application, which needs to be rewritten into a webservice. The application is in C++, and my background is writing stuff for IIS in C++ and microsoft's javascript, but my intended customers are not going to pay for IIS, and many of them would not know how to manage IIS, though it is a lot easier than managing apache. So I guess...
1
1,716
thread by: tomek | last post Jul 17 '05 by: Douwe
Does anyone know how to integrate Oracle9iAS and JBuilder9???
0
1,330
thread by: Lin Li | last post Jul 17 '05 by: Lin Li
I hope this posting does not violate the rules of this group. Since this is a language group, I believe many regular users are also interested in computer languages in general. I would like to invite those interested to have a look at a graphical computing model I developed. It is called Oflow. Its basic properties are: Completely graph...
2
4,197
thread by: Michael | last post Jul 17 '05 by: Michael
Hello I am trying to write a Java-Program which converts a XML-file in a HTML. It should take the Transformation-file from the XML-file itself. Below find a possible XML-file: <?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Michael Herren (private) -->
0
1,472
thread by: Mark McKay | last post Jul 17 '05 by: Mark McKay
I'm trying to send XML messages over a socket to a server I've written. At the moment, I'm using the default DOM utilities to create DOM trees and then try to translate them to strings, which I would then send. I'm trying to do this with the Transformer.transform() method, passing in a DOMSource and a StreamResult, with the StreamResult...
0
1,410
thread by: Steven | last post Jul 17 '05 by: Steven
Hi, I'm running NetBeans on Win NT 4.0 and a HP DeskJet 820. When I print the code, the comment lines print in a very light gray - they are barely legible. I have tried changing the color of comment lines, but they print the same light gray every time. Does anyone know how I can make comment print better? Thanks
0
540
thread by: Edward Micciulli | last post Jul 17 '05 by: Edward Micciulli
5
1,802
thread by: New_aspect | last post Jul 17 '05 by: Robert Will
Hello, Aspect oriented Software development seems to be expanding in the popular vision of developers, with more and more IDE 'add-ons' and even more specialized tools,Jboss etc. I've seen more and more languages integrate AOP,AspectJ (Java), AspectR(Ruby)etc.Aspect oriented does seem to be the place to go from a developer standpoint.What...
5
2,708
thread by: Ron Brennan | last post Jul 17 '05 by: Bryce (Work)
Good morning. I want to send split to a String such as " abc def " and receive back an Array with the two elements String(abc) and String(def); and I want to receive back a zero-length Array if the target is empty or contains only white space. The following code produces an unwanted empty string as the first element. This also...
1
8,564
thread by: K S Aldebaraan | last post Jul 17 '05 by: D Goldman
I'm trying to submit a form with an action of a servlet, and a view equal to the same jsp page. I'm not sure what I'm doing wrong, but keep getting a NullPointerException on the second line of code below: RequestDispatcher dispatcher = myConfig.getServletContext().getRequestDispatcher(view); dispatcher.forward(request, response); The...
0
4,428
thread by: BryarWoilf | last post Jul 17 '05 by: BryarWoilf
Hi all, I'm still somewhat new to servlet/JSP programming, but I want to my application to use the MVC model. I have some simple JSP pages that dynamically open an applet that the user uses for data entry. The applet then opens a channel to the servlet and passes the data to the servlet in a serialized object. I have tested this part...
0
1,707
thread by: j2me | last post Jul 17 '05 by: j2me
hello j2me Just build a homepage of J2ME http://www.geocities.com/helloj2me/ Currently, there are only two very simple MIDlet exercise, will try more soon. You are welcome to visit.
0
3,051
thread by: Joshua McCulloch | last post Jul 17 '05 by: Joshua McCulloch
I have setup Apache 2.0.47 on Windows XP to serve jsp/servlet requests using Tomcat 4.1.27. I did this using the mod_jk2 module and was able to successfully connect to http://host/examples and get the tomcat example pages. I'm using JDK 1.3.1-03. I then configured mod_deflate and was able to verify it works by telnet'ing to port 80 and...
0
1,559
thread by: Tejus | last post Jul 17 '05 by: Tejus
Hi All, I need to know if Java has some Message Queue API for IPC purposes. If not is there any freeware API that give Message Queue functionality. P.S: I cant use 'JMS' or 'C thru JNI'.
0
10,413
thread by: commosoft | last post Jul 17 '05 by: commosoft
Hi all, have you ever seen this kind of error? This happens only on certain types of Sun machines (SunFire280R) but not on other types of machines (SunBlade2000 or SunBlade100). I tried to change my wrapper code to see if the error is caused by something that I can control but seems like that the problem moves and is caused by a new inside...
7
6,674
thread by: ak | last post Jul 17 '05 by: Thomas G. Marshall
am I the only one to say that the java.nio. is bullshit? i have been trying to write some code using it to transfer file over the net. small file it is ok, big file -- problematic. java.lang.OutOfMemoryError at java.nio.Bits.reserveMemory(Unknown Source) at java.nio.DirectByteBuffer.<init>(Unknown Source)
1
3,324
thread by: ParkPD | last post Jul 17 '05 by: mtbxc
Hi, I have been made a signed-applet that handling xml data from web-server. When I execute this applet with appletviewer, it works well. And it is OK with Internet Explorer. But when I opened this page with Netscape 7.0(OS is Windows XP sp1), this applet throw exception when reading xml data from web server. the error message is like...
3
2,532
thread by: David E. | last post Jul 17 '05 by: Sideshow Alex
Here's somewhat of an interesting problem. I am creating a class called Rectangle. It takes in 4 sets of Cartesian coordinates (i.e. (x,y) coordinates.). I'm assuming that the rectangle can be rotated too when receiving these coordinates. How would I go about setting methods to A>"order" them (so that when i trace the outsides, point A,B,C,D...
1
1,737
thread by: gerrymcc | last post Jul 17 '05 by: Douwe
Hello, I hope it's okay to post to the three groups simultaneously. I've got a set of four applets, all of which use the same GUI, except for one change. I want to reuse the 100+ lines of setup code for the GUI, but can't seem to do that because of the single line that changes. Cutting and pasting the redundant code works, but it's a...
5
13,961
thread by: Anks | last post Jul 17 '05 by: -wiseguy
hi I am displaying a digital clock in an applet.I am using Thread.sleep (1000) for counting every second.This works fine some times but some times my clock just slows down or give an interrupted exception .I am not calling Thread.interrupt anywhere in my program. why is it happening? how to fix the problem? Anks
1
5,670
thread by: Chris Baker | last post Jul 17 '05 by: Neomorph
After searching for well over an hour on the java APIs and on the internet, I have yet to find an answer to my question. I'm writing an applet that is meant to run in a browser (AWT). I'd like to be able to load a text file that is stored on the server into the applet. The text file will be stored in the same directory as the class files. Is...
2
4,993
thread by: Tripharn Teki | last post Jul 17 '05 by: Tripharn Teki
Hi, I have the following code in the HTML <select size="1" name="newtitle"> <% // Need to fill select with available campuses while (titleit.hasNext()) { temp = (String)titleit.next(); // Check if it is the selected campus already
1
4,189
thread by: Cyrus Lan | last post Jul 17 '05 by: Brad BARCLAY
I have a jar file, without source code, say abc.jar. I have set it in the CLASSPATH The main execute class in abc.jar is a.class. In the command prompt, I can execute the program by issuing "java a < someIOfile" But I would be like to embed it in my program. Can I create a "dynamic" instance from it?
0
2,740
thread by: Rob | last post Jul 17 '05 by: Rob
Hi, I need to get some idea about poisson process to make a simulator, does anyone know where I can get an example code for poisson process? Thanks for any help in advance-Rob
0
2,078
thread by: nome | last post Jul 17 '05 by: nome
Hello, im trying to connect my application to Tivoli Enterprise Console. I want to do this via log4j. Does anybody know where to get an appropraite Log4J-Appender for Tivoli? cu, thomas

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.