35,618 Topics

Member Avatar for
Member Avatar for kishore.nath07

hi, any one plz tell me how to connect oracle database with the help of struts . i am begginner in struts. thank u

0
56
Member Avatar for nonhlah

Hey this is the error im getting "SEVERE: Shutting down v3 due to startup exception : Address already in use: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@1a683e6"" Do you have any Idea how I can solve it?

Member Avatar for masijade
0
63
Member Avatar for AbdullahDar

Hello there, I have been searching for tutorials for 'j2me sdk 3.0' for few days but havent found any helpful tutorials. All of them that i came across were for 'j2me wireless tool kit' which according to sun has been embedded in 'j2m sdk 3.0'. So anyone from this community …

Member Avatar for peter_budo
-1
108
Member Avatar for Olliepop

Hey guys :) I have been working on an MMORPG for the sole purpose of education recently because i want to start computer science at University in a couple of years and be really prepared for it (i'm only 17 this year) So far i have basically all the networking …

Member Avatar for Olliepop
0
103
Member Avatar for habibalbi

I already created a class Calculator that performs basic arithmetic, now I need to create a class called ScientificCalculator that the functionalities of "Calculator" class through use of inheritance. Scientific Calculator has additional operstions of 1) taking a log of a number to any base 2) taking any number to …

0
49
Member Avatar for ceyesuma

Having problem setting JTextFields on a passed object. System.out suggests that all parameters are correct. Am I working with the KeyCards Object wrong? (keycards just builds Panel and components) netbeans project attached. The problem to be solved is in the keycards package. XMLReaderProgressions.java and FillJTextFieldsFromGetters.java Every part of this code …

Member Avatar for ceyesuma
0
87
Member Avatar for DemonGal711

This is my first java code so needless to say I don't know a lot about this. I think I have it all coded correctly but I don't know how to test to verify that it works. The assignment (found [URL="http://media.pearsoncmg.com/aw/aw_kurose_network_3/labs/lab2/lab2.html"]here[/URL]) wants us to actually send a message once we're …

Member Avatar for BestJewSinceJC
0
199
Member Avatar for rohit_var

i want to make a project on Lan Messenger. but unable to get information of how it works i.e. transfer file, send message.... help me out!!!!!!!!!!!!!!!!!!:confused:

Member Avatar for jwenting
0
80
Member Avatar for llemes4011

Hello, I'm working on a specific classloader for my application, but I'm having trouble getting the Generics to work the way I would like them too. I have the following: [code] public interface Loader<E extends GEObject>{ // methods } public class GEClassLoader<E extends GEObject> extends URLClassLoader implements Loader<E>{ // methods …

Member Avatar for ~s.o.s~
0
352
Member Avatar for LiquidScorpio81

I'm trying to use for loops to output: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 public class Fit1 { public static void main(String args[]) { int side1,side2, side3; for (side1 = 1; side1 <= 3; side1++) { for (side2 …

Member Avatar for stevelg
0
94
Member Avatar for Dmith

how to deal with awt and swing component in java .error is produced when i compare the swing component so what i do for solving it;

Member Avatar for javaAddict
0
104
Member Avatar for jothibasu

below coding is used for print date currennt date and time from your pc [code=Java]import java.text.SimpleDateFormat; import java.util.Date; public class dateformate { public static void main (String args[]) { Date date = new Date(); System.out.println("today date "+date); } }[/code]

Member Avatar for jothibasu
0
61
Member Avatar for coolguy0201

Hi, I need the solution immediately for this Elevator Problem. Please find the attached document and reply to me immediately. Thanks

Member Avatar for jwenting
0
101
Member Avatar for beanboy

hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool:

Member Avatar for jwenting
0
96
Member Avatar for Bemani_lover

I am having a small bit of trouble with a certain program. Here's the program requires. The program developed in Chapter 8 sent data to an external, sequential data named payment11192007 (or payment plus the system date for your computer). It opened a connection to the DataOutputStream and used the …

Member Avatar for BestJewSinceJC
0
236
Member Avatar for its.avinash

Hi guys, Anybody know how to generate checkboxes dynamically if i want to generate them with the result i have fetched from a database query. The query would be like that, SELECT calltype From table Where phone_no=123456; Now result of this query will vary everytime, there total number of checkboxes …

Member Avatar for stultuske
0
93
Member Avatar for vsaransweety

Hi I'm developing an application using jsp.In that i want to upload a file and insert the datas from that into database. I'm using file type input box to upload file. Its working fine in IE,but getting problem while running in Firefox 3.Bcoz of the security purpose,I cant get the …

Member Avatar for vsaransweety
0
91
Member Avatar for xxunknown321

I am having trouble adding information from a ".txt" file to a linked list... here is what i have. list1.txt: 1 2 4 5 6 7 8 11 [CODE] /** The LinkedList1 class implements a Linked list. */ class LinkedList1 { /** The Node class stores a list element and …

Member Avatar for BestJewSinceJC
0
167
Member Avatar for beforetheyknew

Hi guys, got a few questions 1. i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after …

Member Avatar for BestJewSinceJC
0
85
Member Avatar for meowbits

This is an assignment I have and i'm running into problems on this part of it. I need to assign the value I get from scanner input = to a variable in another class. After I do that, I need to be able to call a method that will display …

Member Avatar for meowbits
0
163
Member Avatar for memBrainStudios

Greetings! I am wanting to macro commands for the Windows Command Line interface from within a Java application. How do I do this?

0
42
Member Avatar for puk

Hi, I have a form linked to a servlet that uploads files. I would like the name of the file that has been uploaded to be displayed next to the <h3>line once it has been processed. I have no problems linking the servlet to the form or uploading the file. …

Member Avatar for stultuske
0
59
Member Avatar for 8bitrubix

How can I add a loop to this so that it asks the user if they want to calculate another loan and if they choose no the program ends, but if they choose yes, the program loops back and asks for loan amount? [CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public …

Member Avatar for stultuske
0
82
Member Avatar for jtodd

Hello everyone! I am new to Java so this may be a very easy question. I am trying to write a program and display just the remainder after two numbers have been divided. Here is where i am: import java.util.Scanner; public class Midterm1 { public static void main( String[] args …

Member Avatar for jtodd
0
745
Member Avatar for adi00

hello i install mysql , jdk and tomcat. when i run java file it give message that no database connection available . where to put mysql connector and how to set class path in environment variable . plz help me

Member Avatar for dangari
0
114
Member Avatar for bibiki

hey there, I have the following code: [CODE]import java.awt.*; import javax.swing.*; public class TabelaEShahut extends JPanel{ public static void main(String[] args){ new TabelaEShahut(); } public TabelaEShahut(){ JFrame f = new JFrame(); f.setSize(500, 500); f.setVisible(true); f.setTitle("shah"); f.getContentPane().add(this); } public void paintComponent(Graphics g){ g.setColor(Color.white); g.fillRect(0, 0, 700, 700); g.setColor(Color.red); g.fillRect(50, 50, 400, …

Member Avatar for bibiki
0
347
Member Avatar for enlight_1016

... I need help.. :( ....please teach me how to make formulas that can input in showInputDialog .. :( As a private math tutor for grade school children, you design an application to teach multiplication tables. As a prototype for your design, you begin with the number two. One set …

Member Avatar for stultuske
0
178
Member Avatar for gingerfish

Hi How can i change my application default java icon with my own? The problem is that my frame dont have a name =( [CODE] ..... public Main() { super("PDB Viewer"); GLCapabilities caps = new GLCapabilities(); caps.setDoubleBuffered(false); canvas.addGLEventListener(new SecondGLEventListener()); canvas.addKeyListener(new SecondGLEventListener()); getContentPane().add(canvas, BorderLayout.CENTER); canvas.requestFocus(); initComponents(); pack(); setBounds( 150, 20, 800, …

Member Avatar for stultuske
0
240
Member Avatar for letlet_pogs

Hello. I am trying to return an array and print the values. [code] public class Sample { public static void main(String args[]){ for (int i = 0 ; i<getNames().length;i++){ String a[] = new String[getNames().length]; System.out.println(a[0]); } } public static String[] getNames() { String names[] = {"bob", "jim"}; return names; } …

Member Avatar for balajimarisetti
0
2K
Member Avatar for YottaFlop

Hi, in a Java Applet there the keys control movement, I have a couple of questions (sorry for the disorganized nature of multi-item requests). 1.[CODE=C] if (key=KeyEvent.VK_RIGHT) { x++; } [/CODE] But, as you might have guessed by this post's title, the movement delays before continuing its motion, as a …

Member Avatar for YottaFlop
0
194

The End.