32,199 Topics

Member Avatar for
Member Avatar for satish.paluvai
Member Avatar for jwenting
0
83
Member Avatar for kaushik259106

How do i create a session time out? i have tried with <session-config> <session-timeout>1</session-timeout> </session-config> in web.xml file but nothing seems to happen after 5 min.. if i do refresh it still works

0
78
Member Avatar for kaushik259106

I have configured my tomcat to work on port 80 so when i press [url]http://localhost/[/url] i gets the default page of tomcat. I have a web apps under webapps folder and it has the starting page as login.jsp. How do i configure so that i get the login.jsp when i …

Member Avatar for kaushik259106
0
61
Member Avatar for Mr.UNOwen

Hello, Can someone point out where the javadoc for AudioPlayer.player is? This is the code I currently have... [CODE] import sun.audio.*; import java.io.*; ... ... ... InputStream input = new FileInputStream("Stop.wav"); AudioStream sound = new AudioStream(input); AudioPlayer.player.start(sound); [/CODE] If there is no loop method for this, what's the easiest way …

Member Avatar for Mr.UNOwen
0
146
Member Avatar for pmhayden

Hi I'm in the process of getting JConnector in MySQL to connect to JBuilder 3. I've noticed in the MySQL manual that to accomplish this successfully I need to switch off the class verifier (-Xverify:none) as JBuilder 3 is too old to support some features on the JConnector. (1) How …

Member Avatar for jwenting
0
102
Member Avatar for apontutul

I want to make: when i click a button after I've given some input it checks & if successful it opens a new window/page i.e I want to create a link....till now I've done [CODE] import javax.swing.JOptionPane; public class inputwindow { /** * @param args */ public static void main(String[] …

Member Avatar for Ezzaral
0
228
Member Avatar for libran

Hi, Kindly help me starting with the Java program. Find the specification of the code in the .doc file attched. Regds, [COLOR=#000000] [/COLOR] [B][I][COLOR=#000000] [/COLOR][/I][/B][COLOR=#000000]. [/COLOR]

Member Avatar for jwenting
0
115
Member Avatar for abar_sow

how to change the contents in text file to ppt file with bullets ... My code for wat i tried to shift the contents to ppt from java is: import java.io.*; import java.util.*; class Filereader { public static void main(String args[])throws Exception{ FileReader fr = new FileReader("E:\backup_javaprog\file.java"); BufferedReader br=new BufferedReader(fr); …

Member Avatar for Ezzaral
0
77
Member Avatar for Mr.UNOwen

Hello, I'm creating a game and in this game if you press two particular buttons at once, a particular move is done. How do I go about doing this with KeyListener? Is there a way to get it to wait for a fraction of a second to see if there's …

Member Avatar for Ezzaral
0
3K
Member Avatar for NewToJava

hi, i just wrote my first java program, it compiles and runs and all, but the console window closes too quickly u can hardly see the output. how can i rectify that?

Member Avatar for Fungus1487
0
142
Member Avatar for venomlash

For those of you who also code in JAVA*: Does anyone know of anything in C++ that is at all like paintComponent or the Graphics class? HALP! *ROFLwaffles to those who do

Member Avatar for venomlash
0
190
Member Avatar for michael.ngobeni

I have a problem with my Hashtable output Hashtable HashTest = new Hashtable(); HashTest.put("B_1", "A"); HashTest.put("B_3", "B"); HashTest.put("B_5", "C"); HashTest.put("B_7", "D"); HashTest.put("B_9", "E"); HashTest.put("B_11", "F"); HashTest.put("J_1", "G"); HashTest.put("J_3", "H"); HashTest.put("J_5", "I"); HashTest.put("J_7", "J"); HashTest.put("J_9", "K"); Enumeration enum1, enum2; enum1 = HashTest.keys (); enum2 = HashTest.elements (); String CityCode, CityName; while …

Member Avatar for ~s.o.s~
0
101
Member Avatar for mimsc

this function call [code=java] <span>• <%=userData.getPhone()%></span> [/code] returns a phone # for ex. 8005551155 Need a suggestion on setting it up as 800-555-1155 when i do the call

Member Avatar for ~s.o.s~
0
109
Member Avatar for zuha

i'm doing my final year project this semester.. i'm having problem for getting javax.media package... can anyone help me?

Member Avatar for jwenting
1
73
Member Avatar for legilimen
Member Avatar for jwenting
0
50
Member Avatar for mattyd

Hello. I am new to Java and I am easing into this new language via some basic tutorials. I am using the Borland 2005 IDE; it is powerful and I quite like it save for that it seems [I]incredibly[/I] bulky, hogs [I]all[/I] resources, freezes, tries to shut itself down, etc, …

Member Avatar for jwenting
0
560
Member Avatar for taran30

[code]i have to make a project in java at the beginners level.....so anybody who has ideas on the same...cud u plz help me...i have only 2 months to complete the project...[/code]

Member Avatar for iamthwee
0
79
Member Avatar for pmanya555

hi i am student of msc it i need good project of system sw on java or .net , if any body have any sugetion or idea please help me

Member Avatar for arkaprava
0
93
Member Avatar for arkaprava

I want to do a project on J2me where from my mobile I can lock the car , switch off my light and can be able to different household works .Can anybody provide me some tutorials or suggestion so thath I can proceed for my project ?? plz provide some …

Member Avatar for arkaprava
0
93
Member Avatar for karan sharma
Member Avatar for Ezzaral
0
110
Member Avatar for michael.ngobeni

Hi guys I have a tricky XML/Java situation that I need some tips on I have an XML file <country> <country-name code=”USA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> <country-name code=”FRA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> </country > Firstly I need to count how many cities per country. I know I have to get …

Member Avatar for orko
0
211
Member Avatar for karan sharma
Member Avatar for shaqnolysis

Firstly i would like to say Hello to everyOne.Am a Computer Science Student and Am new in Java Programming.My first program is to write a program that will read a file and display the sum of all values. ....wanted to use BufferedReader to read the file and store the values …

Member Avatar for masijade
0
91
Member Avatar for mimsc

Im getting invalid coulmn index...any suggestions?...thanx in advance [code=java] public static int[] getListSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] listSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != null) { if (userData.isAgentType()) { …

Member Avatar for mimsc
-1
293
Member Avatar for apontutul

hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset …

Member Avatar for apontutul
0
6K
Member Avatar for pmhayden

Hi doing a project which consists of moving between individual frames and in general interrogating a database from these frames. My first frame is a Logon frame. In this Logon Frame/class i have also instantiated another class called Member where I've saved the username from the logon process. Can I, …

Member Avatar for orko
0
252
Member Avatar for onsir

hai , all This coding about filter data using jTextFiled and display in jtable, so help me to combine these class be one class. thanks [CODE] //DBAccess.java import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.EventList; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBAccess { private static Connection c; private …

Member Avatar for orko
0
972
Member Avatar for mimsc

Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != …

Member Avatar for mimsc
0
150
Member Avatar for zhapool

im a 1st yr IT student, we have a final project this end of class. . . all we have to do is make a program using java. Honestly, java is very hard for me so if i can have a favor please help me to understand it more. . …

Member Avatar for toxicboy
0
211
Member Avatar for tygerberg
Member Avatar for orko
0
95

The End.