35,618 Topics
![]() | |
Hi Frnds My application is in System A, i need to run System A application from System B like., In System B, server.xml file i will provide in below format [code=xml]<Context docBase="\\System A\E:\Go-Live\CIS" path="/cis" privileged="true" debug="10" antiResourceLocking="false" antiJARLocking="false"> </Context>[/code] url: [url]http://System[/url] B/cis Could u plz know me that above format … | |
i have a problem in a java program. : "accept a number and print the sum of digits." can anyone help me out??? | |
hi, i receive an error on this line -- if (salesPersonsName <! "end") -- error : operator ! cannot be applied to java.lang.String what can i do? thanks | |
How do you write a driver class? i've never used one before and its sort of dropped into the spec of this program. It uses public static void main(String[] args){} right? i have 4 other classes, so what should i do? | |
Hai Friends, Am programming in java swing, am using scrollane with scrollbars, i want to move the scrollbar at the middle of the panel at starting,am used setvalue but it not setting the given value. please reply me the solution for this problem. | |
So my code does everything I want it to do with the exception of when writing to storage I am not sure how to make true and false write as 1 and 0 respectively. I do not know if it's my syntax or my placement within my program...Kind of lost … | |
I am working in J2EE platform running in Apache Tomcat Server.Now i am stuck with 2 problems 1.I am using JApplet and invoking them in JSP page.This JApplet is enclosed with reading an xml file and displaying its contents.This is not working when i call the Applet in jsp page.I … | |
As you can see here that I have a text box with three submit buttons each redirecting to a different jsp page, however in those jsp pages, when I do request.getParameter("bid"), all I get is null... How can I fix this? [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
Dear JavaFans, I notice that if you use FileOutputStream and FileWriter to write a string into a textfile (.txt) , the Java i/o implementation doesn't seems to recognize the syntax \n which is the newline function. Anyone facing the same problem? The output text file will simple display all strings … | |
Hi guys, Firstly, thanks for the great community, have been lurking for a while and have picked up a lot of help from existing threads. I am making a small program which takes some inputs as strings, i then need to display a list of these inputs, be able to … | |
[code] package squishgame; /* * The stop watch class will allow a program to start and stop a stopwatch as * well as return the stopwatch as a string, a total ms's, or the hour, min, and * seconds separately. * * The System.currentTimeMillis() returns the number of milliseconds since … | |
Basically, this program checks if a word (String s) is a palindrome and prints out "true" if it is and "false" if it isn't. I am currently getting three errors: "unexpected type" at line 17, "incompatible types" at lines 30 and 32. [CODE=java]/** * @(#)palindrome.java * * * @author * … | |
Hi all, I want to make plugin.Pls tell me steps of making plugin in java.Thank for any answer. | |
I have been working on this for a bit, and I have made some great strides. However, there are just a few things bugging me that I can't seem to figure out. This is an assignment, and I don't expect anyone to toss out an entire program for me. However, … | |
I need this to try every ables[z] and the move on to another check. How can i check if its finished without finding the right word in the ables against the other array. Or if its finished and has found the word. [code] for(int i = 0; i < array1.length; … | |
i am trying to send a file using tcp on the local host itself but not sucessful. here iz the program tht i am trying to use. server side [code] [import java.lang.*; import java.io.File; import java.io.InputStream; import java.io.FileInputStream; import java.net.Socket; import java.net.ServerSocket; public class FileReceiver implements Runnable { private static … | |
How can i insert a decimal point into either an integer or a String(probably a String), 2 decimals from the right? like with money? eg/ 13922 139.22 | |
Really any ideas will help but id like to try and make the game hangman. id like to mak it simples in a gui(i dont really need the image of the hangman) but id like to atleast have it show all the letters and make them dissappear as they guess … | |
Hi, I nead to do some menu in gui Netbeans. I have got buttons, and a nead to change one JPanel in witch is some others components. Could you help me how to change JPanels? or some another way to do menu? i'm not good at it :( | |
Hello I am a fairly new to Java, below I have created a program for calculating the distance between two cites that is inputed by the user. For the second part of my program I need to have a menu system and the constant SPEED value to change according to … | |
As i paint any figure in Java, the lines don't look smooth and I clearly see pixels. Any not very difficult solutions? | |
hi everyone divya hea..i'm new to java..i gotta do a inventory project in java..i've been told its simple..but i just dont seem to know how to do it..pls help..:Spls someone submit the code..i've attached the project details as images pls jus c it..thnx | |
Hello, I've worked on some code for a project I have to do but I'm a little unsure about a few parts that I was hoping somebody could provide some clarity on. Here is the project that I'm working on with the code and question on it to follow: Write … | |
Hello all, I m a newbie in java, I m writing code to change the text of the JLabel on the mouse over to the JButton I m facing some problem in Updating [B]Initial Label:[/B] [ATTACH]12891[/ATTACH] [B]After setText:[/B] [ATTACH]12892[/ATTACH] label.setText(); It doesn't update properly New text gets overwritten on old … | |
i successfully edited windows registry using java API... BUT THE PROBLEM IS whether i need to reboot os or not... because after editing it has no effect... if i need to reboot then how can i skip it(i strictly dont like to reboot...)... any java snippet available,, plz.... | |
Hi, I'm building an application and I want to it to play mp3 files. I have it working, basically by installing JMF2.1.1e, and then I add its jmf.jar file to the build path of the project within eclipse. When I then jar up the project, and place on desktop, it … | |
![]() | Can anyone mention all the math functions i require for making a scientific calculator. I am making a CUI version of it (The one which is opened in cmd). |
please help me ^_^ I want using thread in this program but I don't know ..?? ____________________________________________________ [CODE]import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; //------------------------------------------------------------------------------------------------ public class MyApp extends JFrame { // Data static boolean stopped = true; // Is the counting stopped? (True or False) --> shared variable … | |
hi all, i made a web application through netbeans and in its web.xml file i set the session timeout as according to my requirement(let's say 1 min.)and then i made a class implementing sessionlistener and in its session destroyed method i removed the atribute(say empno) from session. The whole application … | |
Hi all, I have connected the mysql database......but if i run my jsp code, it is giving an error..........whats the main reason for this. I have gone through some cases based on database connection, in that they said we have to copy mysqlconnector.jar file in lib folder of jdk.... but … |
The End.