32,204 Topics

Member Avatar for
Member Avatar for techyworld

hi am having problem to deploy my java web application. I'm using myEclipse for spring 10 and tomcat 7. am having these errors: org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/projectname] startup failed due to previous errors Anyone know how to solve this issue?

Member Avatar for cool_zephyr
0
293
Member Avatar for nira9

i just wanted to know for future which language is good php or java thanku..:)

Member Avatar for stevie.whalen
0
264
Member Avatar for sub-zer0

Hello how can i check the divisibility of a number without using % / +... I am new at coding so hope someone can help I think my code sucks ..i read forums and this is the best i can do import java.util.Scanner; public class Divbythree { public static void …

Member Avatar for sub-zer0
0
288
Member Avatar for amolelexengi
Member Avatar for jwenting
-1
71
Member Avatar for ummusalaam.alaphat

Hi am very much interested in progrmming with java and my idea is developing a project that can solve linear programming problems for minmisation and maximisation.

Member Avatar for jwenting
0
76
Member Avatar for srikanth2321

Hi, I have a problem of modifying Jtree font. No matter what I do or make changes in code I'm unable to change the default font. I got the TreeCellRenderer code from some website. Any suggesion on font change would be really helpful class MyCellRenderer extends JEditorPane implements TreeCellRenderer { …

Member Avatar for mKorbel
0
861
Member Avatar for Fatima_110

I'm just a beginner please help! BlueJ accepts my code - there are no compilation errors. But when i want to run the program it doesnt do what i wanted it to. It allows the user to answer the questions about the product and price but the skips to the …

Member Avatar for Fatima_110
0
114
Member Avatar for server_crash

I know that you can call this method to delete a row from a JTable: [Code] DefaultTableModel.deleteRow(index); [/Code] I need to delete all of the rows at some point, and this is not working: [Code] for (int i=0; i<dtm.getRowCount(); i++) { dtm.removeRow(i); mortgageTable.revalidate(); } [/Code] I tried revalidating, but that …

Member Avatar for Layki
0
6K
Member Avatar for fmasroor

import gpdraw.*; public class chemical { public static void main(String args[]) { DrawingTool pencil=new DrawingTool(new SketchPad(700, 700)); double points[][]=new double[4][3]; double theta=0; double vx=0, vy=0, vz=2; while(true) { points[0][0]=0;//x points[0][1]=1;//y points[0][2]=0;//z points[1][0]=.94281*Math.cos(theta); points[1][1]=-1/3; points[1][2]=.94281*Math.sin(theta); points[2][0]=.94281*Math.cos(theta+2.09439); points[2][1]=-1/3; points[2][2]=.94281*Math.sin(theta+2.09439); points[3][0]=.94281*Math.cos(theta+4.18879); points[3][1]=-1/3; points[3][2]=.94281*Math.sin(theta+4.18879); double screenx, screeny; for(int i=0; i<4; i++) { double x, …

Member Avatar for fmasroor
0
200
Member Avatar for MasterHacker110

I am trying to read user input from console using Scanner but it only reads my first input, and then on my second input it closes my program. Here is my code: import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.security.KeyPair; import java.security.KeyPairGenerator; …

Member Avatar for IIM
0
593
Member Avatar for Stuugie

Hi All, I'm attempting to install Jre7 on my newly installed Ubunto OS. I've been looking [here](http://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-6-7-jre-or-jdk) and it is telling me to move the unzipped folder to /usr/lib but where is that? In the Terminal I tried finding it by changing directories but to no avail and I'm getting …

Member Avatar for mike_2000_17
0
270
Member Avatar for Pradipnikam
Member Avatar for Gerryne

Hi. Our homework is to use try...catch block in our calculator applet. I don't understand why the "catch" does not work. It will always go straight to the "finally". Here's the code: import java.applet.*; import java.awt.*; import java.awt.event.*; import java.awt.Label; import javax.swing.*; public class clsCalculator extends Applet implements ActionListener { …

Member Avatar for stultuske
0
432
Member Avatar for xxmp

i have this class theclass{ int totalavailable; other informations; } and i made a list LinkedList<theclass> where all available rooms The user want to see if two rooms of any of the available rooms that are at the list are availables and produce a result with the available options. for …

Member Avatar for JeffGrigg
0
139
Member Avatar for sam1

hi everyone does anybody know a good java free ebook. if anybody has it plz send it to me or give me the link. or any sort of programming ebook would do. thanx :cheesy:

Member Avatar for Rahul_25
0
159
Member Avatar for evan.winstead.7

Hey! I am learning a bit of jframe, and I was wondering if anyone knew how to make a JScrollPane display an RSS Feed? I have the feed already, I just need to know how to have the JScrollPane display it, thank you!

Member Avatar for JamesCherrill
0
126
Member Avatar for PratikM

Hi there, so I have a project idea for Java but I have no idea how to start it and was hoping that some of you could point me in the right direction. So I got this idea based on a need that my mom had in her business. I …

Member Avatar for somjit{}
0
181
Member Avatar for RinzLove

Hi all, I would like to create .fxml file for my java project. How do we get javafx .fxml into java Eclipse? e.g. From Eclipse, when I click File -> New -> Other, then the Wizard window pop out. There should have Javafx folder, which will expand and I can …

Member Avatar for IIM
0
350
Member Avatar for PratikM

Hi there, I'm back again and this time I have another question: So I figured out that I have to use Array Lists for my last question, but now, I have another problem: How do I get all the user inputs separated into different strings so that the user may …

Member Avatar for JamesCherrill
0
482
Member Avatar for Naushad9045

hello everyone...hope all of u might understand the problem..i tried my best...Im trying to make a program in java..but i don't know the logic to solve my problem..the problem is "Make a program in java language and take C program as input no need to input body of C program …

Member Avatar for JamesCherrill
0
149
Member Avatar for durgesh1

hello all i have table in which there is one column with checkbox i want to it should hide in one frame and i am calling this frame in another frame method at this time this hidden column should be visible please tell me how this will happen

Member Avatar for JamesCherrill
0
69
Member Avatar for durgesh1

hello friends i like to make screen like windows my computer in which when we click in local disk and then any folder we don't see any new screen it just open all windows in one screen. is it possible to do in java so that we don't call any …

Member Avatar for JamesCherrill
0
261
Member Avatar for DarkLightning7

I need to get the value of the primarykey for the most reciently created entry in an h2 database only problem is i cant figure out how to call scope_identity() which is supposed to return a resultSet with the most reciently created key. Here is the function i am using: …

Member Avatar for ~s.o.s~
0
686
Member Avatar for murali2489

Hi All, I am having a tablespace named Incident which has eight columns . The first column is index which i kept as auto increment. The columns are 1.index(auto_increment) 2.ticket_no (String) 3.date(String) 4.description (String) 5.priority (int) 6.state (String) 7.follow_up (String) 8.status (String) Now i tried to insert test row in …

Member Avatar for murali2489
0
424
Member Avatar for PratikM

Hi there, So I am trying to make a program that will allow me to input multiple users and be able to store data under their names. My problem is that I don't know how to make it so that the user can input as many names as he/she wants …

Member Avatar for PratikM
0
112
Member Avatar for lena1990

hi all, first i searched the internet and did not find something help me or i did not understand what they say. i have server client program the client send data to the server and the server reply i want if the client did not send data for 2 hours …

Member Avatar for JamesCherrill
0
206
Member Avatar for cool_zephyr

I got a string `\x3Cb\x3EHello, World\x3C\x2Fb\x3E` as a webresponse..i think it means `<b>Hello, World</b>` but i don't know how to unescape that sequence into java string..could anyone please help me with this?? Thank you.

Member Avatar for cool_zephyr
0
665
Member Avatar for AndrewSD

Well I am trying to write a simple "polynomial engine" that has two functions: [LIST] [*]simplifyPolynomial [*]solvePolynomial [/LIST] I just don't know where to start:( I can't think of a method to use. I don't think there are any polynomial libraries in java? My question is: do any of you …

Member Avatar for George_1
0
1K
Member Avatar for akhilchandranms

how can i make the system (execution process )wait for some periode of time

Member Avatar for JamesCherrill
0
304
Member Avatar for nira9

hiee friends i wanted to make one apllication i java which ca include maximum java syntax so i can learn it deeply please suggest some ideas and links for it.............thnkss in advance

Member Avatar for JamesCherrill
0
52

The End.