Hi folks,
I have a design related question for you:
We need a client/server application, which helps us administrating and maintaining our project.
The user should be able to make some entries in a database and it should be possible to start some shell scripts on the server within the client...
Hi everybody,
I am trying to compile an existing C++ project with the help of ANT. We are doing this with make right now and it works fine but we start to use Java for some smaller programs and I thought that it would be nice to have an ANT build.xml which can handle everything in the project...
Hi all,
I am using log4j with a DailyRollingFileAppender. Everything works fine so far but there is one problem left....
I want to be able to let my application know how its logfile is named an where it can be found.
Therefor I would have to browse through the appenders and if I find an...
Hi all,
I have a big problem with a small textfile. :(
I read a textfile that was downloaded from a webserver... like this:
String line;
FileInputStream fin = new FileInputStream(strImportFile);
BufferedReader myInput = new BufferedReader(new InputStreamReader(fin));
try
{
// read file...
Hi all,
I want to read the content of a folder on a webserver with a java program. Is that possible at all?
Want I try to achive is that you can call the programm with a certain URL (like www.abc.com/xyz/) an it will display the folder's (xyz) content (all html-files, etc.).
I have tried...
Hi!
I have a problem with mod_proxy.
We have a machine with the dns-entry "domain.example.com" and an alias called "alias.example.com". I setup the (reverse)proxy to forward all requests that go to a certain directory to another server (tomcat):
<IfModule mod_proxy.c>
ProxyRequest Off...
Hi everybody,
I am trying to solve a design-issue but I can't find the proper solution for it. This is the problem:
We have an java application (client) that connects to a jboss-server and it does some database related tasks (show records in a JTable, add, edit and delete records). Everything...
Hi everybody,
I have a question regarding the Java version that should be used for running JBoss. I read in the manual that you should use Java SDK 1.3 or later for running JBoss 3.2.x. But for the application I have to develop I will have to juse J2EE in version 1.4.
My question is: Does it...
Hi!
I have a major problem here. There is a table I have to export as csv-file. But whenever I try to do this the result is that all dates in the file have the time 00:00:00 at the end. But in the table they are formated as Date/Time Short. Another problem are numbers like -0.00297 they will...
Hi!
I have a major problem with Access...
There is a table myTable_1 with some fields (int, text, long). What I do is run a query on this table and insert the result in a second table myTable_2. myTable_2 has only text-fields, so the int and long values will get converted.
No problem so far...
Hi,
I have some problems to find a good solution for this problem:
There are some values in a JComboBox and depending on the value choosen in this box another JComboBox has to display values that belong to the selected value in the first box.
What do you think would be the best structure to...
Hi!
I am trying to write a program that connects to an URL and writes the response to file... actually I only want to save the BODY of an HTML-file to a text file.
There was a post in this forum with a link to some java-examples a few days ago and I tried to use one of the classes from these...
Hi!
I am trying to read a some kind of complex serialized object from a stream. Here is the object's class:
public class ReloadScheduleObj implements Serializable
{
// *** object related varibles ***
private String strSubimportKey;
private String strSource;
private String...
Hi!
I just don't get it. I have three nested for-loops and the counter-variables for these loops are definied globally. The if-statement in the third for-loop does not recognize the variables "i" and "e"... WHY?
for( i = 0; i < oldVec.size(); i++ )
{
for( e = 0; e <...
Hi!
I have a problem handling ObjectOutputStream/ObjectInputStream.
I created a Thread-Class that writes different objects on an ObjectOutputStream (getting the objects from a Vector). And there is a Thread that reads from the ObjectInputStream. However... if I send an object of let's say type...
Hi!
I am using a modal JDialog in an application (login dialog). It's called in a JFrame and is the first thing that you will see after starting the application. My problem is that there is no symbol/button for this dialog in the Windows taskbar... if the JDialog is closed there is a...
hi!
i have a small problem with javascript and the open methode.
here is my code (sorry, but it is in german):
<html><head><title>Test</title>
<script type="text/javascript">
<!--
function NeuFenster() {
MeinFenster =
window.open("datei2.htm", "Zweitfenster"...
Hi!
We got a new compiler (solaris) and with this compiler we get a warning while compiling a project. The comopiler complains about a non-POD object. Does anyone know what this is??
This is the warning:
"ExceptionLogger.cpp", line 136: Warning: A non-POD object of type...
Hi!
I want to let a thread throw an exception (in order to handle that exception in the parent class). But I am not able to get this to work. I tried to do something like this:
public void run() throws IOException
{
...
}
But the compiler says that I am not allowed to do this. How can...
Hi!
I wrote a little consumer-producer example just to learn how to handle this kind of problem. The application runs perfect on a Windows2000 machine with Java 1.4.2 but if the same application is executed in a solaris environment with Java 1.3.1 the application hangs up (deadlock?).
Why is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.