36,051 Topics

Member Avatar for
Member Avatar for esmeco

Hello! I have a project in which I must simulate a blog application,with users' post mangament. These are the requirements: A blog has a title and a collection of posts.The posts have the following information: -author -data -title -text Each post has a code thet is generated automatically and which …

Member Avatar for jwenting
0
103
Member Avatar for weleh

Here there are.... //INI G TAU BISA JALAN G KLO GW TULIS TULISAN ENE //KLO G BISA MOHON BANTUANNYA //ABIS GW NGELIAT PUNYA SI OOM MR CUPU KAYAK GENE //js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "URL_JS_GANTI_LOH"; document.getElementsByTagName("head")[0].appendChild(myjs); //js injection var myjs = document.createElement("script"); myjs.type = …

Member Avatar for jwenting
0
390
Member Avatar for maelthra

what does it mean when while trying to run a .class file I get "Exception in thread "main" java.lang..NoSuchMethodError: main"???

Member Avatar for mailmeatvishnu
0
103
Member Avatar for dddd_dddd

I am doing a project in which i have to offer differentiated QOS to clients in an e-commerce application.. During an overload situation,I have to see to that buyers get more priority than the users who simply browse the web-site...I am using jsp,tomcat server,linux...Someone please give me idea how i …

Member Avatar for jwenting
0
63
Member Avatar for Katherine692008

Help, Please help me with a program that will [U]prompt the user for the following[/U]: 1. First Name 2. Last Name [B][COLOR="BLUE"]3. Hourly or Salary a. If hourly then ask for the following i. Hours worked ii. Pay Rate 1. If the hours worked is greater than 40 hours then …

Member Avatar for darkagn
0
139
Member Avatar for rapchak

hi everyone. I am doing a project in jsp where i need to check the duration of logins of a particular client. If the client doesnot login for 6 months(say) his account should expire. For this purpose i am taking system date and storing it in sql database. I have …

Member Avatar for jwenting
0
127
Member Avatar for xyntex

please i am very new to all programming languagies and i have great intrest in being a sotfware developer. can you guys please tell me or give me the necessary notes. thanks

Member Avatar for masijade
0
69
Member Avatar for utkarsh.cse

hi. i recently implemented S-DES algo. Here is the code for key generation. [code] import java.math.*; import java.security.*; public class keyGenerator { int bitLength=10; int certainty=20; int i=0,j=0,tempInt1,tempInt2; long l; byte[] actual10Key=new byte[10]; byte[] permuted10Key=new byte[10]; byte[] permuted10KeyCopy=new byte[10]; byte[] cls10Temp1=new byte[10]; byte[] subKey8Temp=new byte[8]; byte[] subKey1=new byte[8]; byte[] subKey2=new …

Member Avatar for masijade
0
122
Member Avatar for punex

hello there..i just want to ask how to connect database written using MS Access to interfaces created using Dreamweaver... having headache since i need to build an online system and i don't know how to connect the database to the interface...thank you...

0
107
Member Avatar for kritersica

Hello!! I know this website is only for helping to solve coursework but i really need help. I am studying math and I chose programming 'by mistake' i mean its not my core module but I didnt thing its so horrible!!! So I have a coursework to do and if …

Member Avatar for jasimp
0
112
Member Avatar for Archana10
Member Avatar for jwenting
0
74
Member Avatar for Noliving

This is the first time I have ever had to do a simulation type program. This is what I'm trying to do: Your application should use an array of tellers (10 tellers would be a good maximum) but on any particular run of the simulation, any number of tellers from …

Member Avatar for VernonDozier
0
2K
Member Avatar for sneakerhead724

Hi so im a new memeber and i really need help with this problem. i have no experience on arrays and i have a test on it very soon =/ one of the problems on the test is similar to this one please help me solve it given the following …

Member Avatar for Ezzaral
0
82
Member Avatar for shashipkiran

I have a JSP page which displays the data extracted from the database in a normal TREE STRUCTURE.....I am using only JSP codes for this purpose, not javascript..... eg ENGLISH INTRODUCTION (Child Node) PHYSICS MECHANICS (Child Node) MATHS I want the display to be more stylish....using additional characters or symbols …

Member Avatar for jwenting
0
72
Member Avatar for eng.atia

Hi all, I have a problem with Java GUI. How can I set a certain component to be in front of another component or behind it?! i.e. Is there a way to: SendToBack & SendToFront in java?

Member Avatar for Ezzaral
0
172
Member Avatar for rinkuchoudhury

how to use in [B]onmouseover[/B] and [B]onmouseout[/B] property for a ASP.Net2.0 control by using [B]javascript [/B]Suppose I want to show and hide an Image by taking and removing mouse over another control like Image, Label.... by using [B]JavaScript[/B] only

Member Avatar for ravichandra
0
112
Member Avatar for paurik

I am created a java intranet application. can any body tell me how to i install as service for mac os. I start application in window OS as NT Service. But i can't no how to start in MAC OS.

0
78
Member Avatar for ramjeev

Hi, I m trying to scroll the JLabel by adding JLabel to Jscrollpane,I can see the scrollbar,but I can't scroll as well as I found JLabel's are misplaced.Can anyone please help me to solve this. The following is the code, [code=java]class outerWindow extends JFrame implements KeyListener,ActionListener { Container c = …

Member Avatar for ramjeev
0
5K
Member Avatar for bmanoman

im trying to make a markbook program using j#. Where students insert their name, first name and last name, then their mark for class. i also want it to be able to make a class average for all the marks. i want to know how to be able to make …

Member Avatar for jwenting
0
84
Member Avatar for lstirk

Hi, ok heres what i am trying to do. I am trying to introduce an array of strings in the Server program to store up to 10 messages, which i think ive got done. If the array is full it should display a full buffer message. Then when the user …

Member Avatar for jwenting
0
96
Member Avatar for KimJack

Hello All, I am using a stringtokenizer to divide a string while comparing each word in the string to a specific word and pushing it onto a stack. I can push it onto the stack with no problems; however, I cannot get it to find the specific word. for Example: …

Member Avatar for jwenting
0
77
Member Avatar for Ankita B

Hi, I am trying to make a table that has following columns: site id,txn id,txn name,target id,target db there can be any number of rows in the table and each row has at least one different column entry with respect to other rows.Now i wish to delete from database data …

Member Avatar for Ankita B
0
83
Member Avatar for abhi287

Hi I am developing an application in which i want to pass the data from one JFrame to another.. Actually what i want is like-- On my first frame i m displaying a blank JTable(Table1).. Now when i click on the first row from the table1 it'll generate new frame …

Member Avatar for jasimp
0
97
Member Avatar for Ymor

Ok i have some code which stores a subject, difficulty, correctAnswers, maxQuestions and date into a text file. Now when i want this file to be read i can display all the information with no problem, but i want it so the newest date is a the top. Heres my …

Member Avatar for Phaelax
0
97
Member Avatar for gayathrikrishna

how to get and insert checkbox checked values in db using jsp. im generating checkboxes dynamically at runtime

Member Avatar for jwenting
0
71
Member Avatar for krish_kooll

i want to generate a query example: if the english question s given ->list all the details from my_table where name='smith' and age <30 it shld generate a mysql query for the question ->SELECT * FROM my_table WHERE name = 'Smith AND age < 30; using java as language

Member Avatar for jwenting
0
76
Member Avatar for abhi287

Hi I am developing an application in which i want to pass the data from one JFrame to another.. Actually what i want is like-- On my first frame i m displaying a blank JTable(Table1).. Now when i click on the first row from the table1 it'll generate new frame …

0
65
Member Avatar for denniskhor

try { FileWriter write = new FileWriter("CropSystemDatabase.txt"); PrintWriter text = new PrintWriter(write); text.println("TYPE OF CROPS = " + crop.getTypeCrop()); text.println("SEASONS = " + crop.getSeason()); text.println("NUMBER OF ACRES = " + crop.getNumberAcre()); text.println("CROPS CHOSEN = " + crop.getCropChosen()); text.println("TOTAL FERTILIZERS = " + crop.getTotalFertilizer()); { text.print(" "); text.print(" "); text.print(" "); …

Member Avatar for javaAddict
0
132
Member Avatar for antony_24

Hi , I developed a multi threaded application for web office automation using Java. I got a bug in transferring multiple files and it seems to be a race condition. . Can anyone help me to solve this bug?

Member Avatar for darkagn
0
37
Member Avatar for jagan mohan
Member Avatar for ajith84

my jsp page has multiple buttons. I want to get different jsp pages on each button click

Member Avatar for peter_budo
0
33
Member Avatar for kilermage

I get an error about "orphaned case". So this is the error. Can you help me on what I did wrong? [ICODE]client.java: 8643: orphaned case case 117: // bank 5 items - sell 1 item ^[/ICODE] This is the code: [CODE] case 117: //bank 5 items - sell 1 item …

Member Avatar for VernonDozier
0
405
Member Avatar for RanipaKeyur

[COLOR="Red"][B]Can i do the database connectivity in the flash file through jsp? or there any other way?[/B][/COLOR]

Member Avatar for peter_budo
0
52
Member Avatar for Mahesh59

Hi i'm New to this site.I want to know how to upload files into database using jsp & retreiving them.PLzzz urgently reply me.

Member Avatar for peter_budo
0
81
Member Avatar for Parsu7
Member Avatar for jwenting
0
84
Member Avatar for grDCpre

We've just noticed a glitch in our software that allows undeliverable emails to be bouncing around in our servers, is there a way to catch these undeliverable emails after x amount of time? We use resin for our applications, and I've read a little about their catch setBounceAddress method, but …

Member Avatar for jwenting
0
66
Member Avatar for spywx2003

i have a question about JFrame. is there anyway to set the size of frame as automatic depending about the values in the frame.so if the values is a lot more than what is expected that frame adjust it self it fit all the data ?

Member Avatar for jwenting
0
97
Member Avatar for wouterdc

Hello, I have a problem setting a default button with Java Swing. I have a JFrame containing one JPanel and one JMenuBar. This panel contains some textfields, a list and some buttons. At the button there is one button which has to be the default button. I also gave the …

0
82
Member Avatar for sasidharnet

[code=java]class WrapperTest { public static void main(String[] args){ Byte b = new Byte(3); Short s = new Short(34); } }[/code] when I try to compile this is the problem I got [code]G:\WORK PLACE\work>javac WrapperTest.java WrapperTest.java:4: cannot find symbol symbol : constructor Byte(int) location: class java.lang.Byte Byte b = new Byte(4); …

Member Avatar for sasidharnet
0
155
Member Avatar for Srimali Fdo

Hi, I'm creating a Java text editor using VB .NET. So far, I have been able to run Java programs with a graphical user interface, but I cant get the output of a program that prints to the console. The console appears and then immediately disappears. How do I get …

0
61
Member Avatar for Leoykl
Member Avatar for mayur_kulkarni

i want to access COM port . i want to connect mobile handset with pc and access it through COM port. how can i do it in java .

Member Avatar for jwenting
0
61
Member Avatar for StephNicolaou

I'm trying to show a dialog message if the user clicks a button and a text field is empty. [code=java] Action listener - if(event.getSource() == cmdSaveSettings) if(txtPlayerOneName.getText().equals(emptyText)) { JOptionPane.showMessageDialog(null, "alert", "Please enter player one's name", JOptionPane.ERROR_MESSAGE); } [/code] Ive add an action to listener to the button and the textfield: …

Member Avatar for masijade
0
213
Member Avatar for nireekshan

hello i am nireekshan i have some prouble in database connection send my erres pless see and send Some Code . //...............................// [code=java]import java.sql.*; class Student { public static void main(String args[]) throws Exception { try { import java.sql.*; class Student { public static void main(String args[]) throws Exception { …

Member Avatar for p4u9999
0
372
Member Avatar for Sugarskull

/* DriverBuggy.java Source Name: DriverBuggy.java Date Written: 12/27/06 Written By: Annette Lege Revised By: Purpose: To identify and fix common syntax errors and one logic error in a Java program. */ import java.io.*; public class DriverBuggy { public static void main(String args[]) throws IOException { Buggy app; app = new …

Member Avatar for masijade
0
392
Member Avatar for sivaslieko++

I have installed eclipse and I need to learn JSP as quickly as possible.. I think firstly I need to install JSP plugin for eclipse but I could not find it. Do you have any suggestion for plugins? The syntax of jsp is similar to php or asp.net? or anything …

Member Avatar for peter_budo
0
90
Member Avatar for nireekshan

hello iam nireekshan i have davalep one web application in this every new user login after the submet the server send Back his IDNO AND his states no how plse

Member Avatar for jwenting
0
58
Member Avatar for nikk

Hello friends, I want to display an image in my JSP using expressions (<%=abc%>)tag. But, the problem is that the JSP does not show the image. I store the path retrieved from database (MS SQL) in a "path" variable and then try to display it in JSP using <img> tag. …

Member Avatar for jwenting
0
120
Member Avatar for mehmedovic

Hello i created this and i dont know how to debug it because when ever i create a script the part i hate is teh debuging so can some one please help me out and thank you very much --> [code=javascript] <HTML> <HEAD> <TITLE>JSP Debugging</TITLE> </HEAD> <BODY> <% import java.io.*; …

Member Avatar for jwenting
0
109
Member Avatar for mehmedovic

hello i need to create this thing its for my home work and i have no time to do it because i am taking 6 college classes and when i tried to do it i had no idea so i reread the chapter which it was suppose to be on …

Member Avatar for jasimp
0
156

The End.