I am working on a client-server networking app in Java SE. I am using stings terminated by a newline from client to server and the server responds with a null terminated string.
In the output window of Netbeans IDE I am finding some gibberish characters amongst the strings that I send and receive.
I can't figure out what these characte...
I come from a Java and PHP background to build web applications.
Has anyone used Lua before to build a web applications?
Question: If so, what are the pro's & con's of using Lua versus PHP or Java for a web application? (e.g. web server support, performance, code maintenance, etc).
...
If I have a project which has some of its modules in scala (ie java modules, scala modules side by side) - how have people solved combining scaladoc generated HTML with javadoc generated to provide a single view of the documentation for the project?
(this could be using maven, or ant, more a general question).
Any thoughts and experi...
shouldn´t one pass an object to equal?
String hej = pets.getBark();
if(hej.equals("woff"))
why are you able to pass a string woff?
...
In WEKA-a data mining software for the MICROARRAY DATA, how can i remove the redundant tuples from the existing data set? The code to remove the redundancy should be in JAVA.
i.e, the data set contains data such as
H,A,X,1,3,1,1,1,1,1,0,0,0
D,R,O,1,3,1,1,2,1,1,0,0,0
H,A,X,1,3,1,1,1,1,1,0,0,0
C,S,O,1,3,1,1,2,1,1,0,0,0
H,A,X,1,3,1,1,...
Whenever I study Garbage Collector I hear the term object Graph. What does it mean exactly?
...
I used Netbeans to generate Web Sevice client code from WSDL url.
But I can't change endpoint address at run time using code.
Please help me to solve that problem!
...
I have done the sample guestbook project at
http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html
in this project instead of displaying all the comments to a user I want to display only the comments posted by the current user. for that I query the datastore with where condition for user. But an error is throwing...
back end java 1.4 with EJB 3.2
data base sql server 2000
How to make asynchoronous call to a procedure from java code using jdbc?
...
I have a line chart generated from a SQL, I need the data to be plotted in different colors based on the value.
For example: Green color for positive values and Red color for negative values.
I have added the jrxml content,
<parameter name="conName" isForPrompting="true" class="java.lang.String"/>
<paramet...
i have a server machine where all the helper jars and classes present, which i want to use. is it possible to import those classes in my application?
...
how do i print the element "e" in arraylist "list" out?
ArrayList<Dog> list = new ArrayList<Dog>();
Dog e = new Dog();
list.add(e);
System.out.println(list);
...
Hi,
Can I know the difference between the RequestDispatcher interface and sendRedirect().
Thanks
Ravi
...
The Java Collections Framework is like the C++ Standard Template Library: "a unified architecture for representing and manipulating collections (objects that group multiple elements into a single unit)."
http://java.sun.com/docs/books/tutorial/collections/intro/index.html
...
"Auto increment" alphabet in java - is this possible? From A to Z without a 3rd party library?
...
I couldn't find out why it shows error. I have created table named books in Oracle priorly.
create table books(num number);
Then I wrote code in Java:
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection(
"jdbc:oracle:thin:@CF:1521:orcl",
"scott",
"tiger");
Statement s=con.createStatement();
s...
Hi all,
I need to be able to change the working directory in MATLAB without interacting with the command window. I'm launching MATLAB from a Java application. Right now the only solution I've come up with is closing MATLAB, changing directory from JAVA and relaunching. Is there some streamlined way to send MATLAB the 'cd' command from J...
Hi,
Whenever I write a program in eclipse each line gets complied as go to next line.It shows compilation is done while writing he program only.
Does it mean javac.exe file is run whenever you write a line of program?
It debugging is much easier in Eclipse.
...
i am using tomcat, i defined some error-page in web.xml and mapped 404 error to page /error/error.jsp, but i need a servlet to detect if the resource exist, i want to set the Response status to 404 if the resource is not available, but tomcat would not redirect to the page i defined, so my question is:
is there any api to get the page l...
i have to use j/XFS implementations with my java application. and i dont have any idea of what j/xfs is? on google also i found only one small 15page document. so can anybody give me some links?
...