35,618 Topics

Member Avatar for
Member Avatar for nikita.chandra

hi all ! In my web application for bus ticket booking i want to use session. Here i m describing the flow of my application briefly------------ (1) My first jsp page is index.jsp and after submiting this page it will go to servlet SenndBusInfo.java for processing. Here i am creating …

Member Avatar for nikita.chandra
0
160
Member Avatar for nikita.chandra
Member Avatar for javaAddict
0
79
Member Avatar for patilsunil47
Member Avatar for himmat.m4

Hi, I m working in jsp project in which I have problem is, Whenever click on different images then some values entered in input text and here I want to when I clicked again any some image that particular value removed from input text. Thank's in advance

Member Avatar for peter_budo
0
102
Member Avatar for nikita.chandra

hi ! please tell me how to navigate from 1st record to last record and also from last to first record of database using JDBC , Servlet and jsp. please help me by sending full source code for that. thanks :)

Member Avatar for ~s.o.s~
0
82
Member Avatar for mahdi68

Hi is it possible active touch support on high level item`s(form , list , ... ) ? thanks

Member Avatar for mahdi68
0
150
Member Avatar for nikita.chandra

hi.. Is it ok to add more than 10 attributed on session object or it will slow down my application?

0
41
Member Avatar for madhub2v

pl help me I want Single File Database: Develop a student record management program, which uses single file as its database. It is not supposed to create additional files at any part of the project and should never rewrite total content.

Member Avatar for masijade
0
114
Member Avatar for sky_B

Hi,I'm a beginner to Java. Can anyone help me? I want to know how a textField to be displayed above a image(like acting as the background of that textField).

Member Avatar for sky_B
0
88
Member Avatar for brandongood

Hello, I have a class that pulls account numbers from valid_accounts.txt and is supposed to take each number and put it into an array. In my driver program, I should be able to call the method of the class that pulls the information and populate it into my array created …

Member Avatar for Ezzaral
0
120
Member Avatar for chris12047

Write an application to simulate the rolling of two eight-sided dice (eight-sided dice are used in various role-playing games). The application should use an object from the class Random to roll the first die and then again to roll the second. Each die can have the values of 1 to …

Member Avatar for NormR1
0
206
Member Avatar for blknmld69

Good day everyone! I have a program that I need to modify so that it reads a list of valid charge account numbers from a file. Currently the list is in an array in the program. I am also attaching the text file(valid_accounts.txt) that it needs to read from. [CODE] …

Member Avatar for coil
0
165
Member Avatar for anuj6928

hey... hi there .. i m currently using NetBeans for creating A simple desktop application in java,,,, so in the registration page.. i m getting some errors my code is import java.sql.*; import java.lang.*; /* * register1.java * * Created on September 7, 2010, 10:59 AM */ /** * * …

Member Avatar for coil
0
161
Member Avatar for NormR1

For those that want to directly execute a .class file in a command prompt window. Here is a way: Create the following batch file. Use the Windows Explorer Tools to add a commandline for the .class file: C:\BatchFiles\ExecClass.bat "%1" Give it a name like: Execute class file The batch file …

0
650
Member Avatar for nikita.chandra

hi all ! i have installed eclipse through internet on my PC (OS : ubuntu) but there is no any option in eclipse to create web application using java. Please help. It's very urgent. Thanks! :)

Member Avatar for Ezzaral
0
78
Member Avatar for stusfella@yahoo

Hi guys, I am starting my project and thought You pple could give a hand.I want to develop a stand-alone [I]real property management system[/I]in Java (netbeans platform)...I have some problems in [B]design and content of the system[/B].I would greatly appreciate any assistance on the same ..no of databases(mysql),forms and such..(design) …

Member Avatar for new_programmer
0
91
Member Avatar for daudiam

The following assignment would work [CODE]float a=3;[/CODE] But the following won't :[CODE] Float a=3;[/CODE] Shouldn't 3 be automatically promoted to float (as widening conversions don't require an explicit cast) and then Boxed to Float type ? Is it because of a rule I read in Khalid Mogul's Java book ? …

Member Avatar for daudiam
0
128
Member Avatar for LianaN

Hi! Please, explain me why JTextField: txtFirstName and JTextField: txtLastName are not visible on my JPanel: panfortab?! I can see only JTable: tableDetails. [CODE] private void createBaseRight() { JPanel panfortab = new JPanel(); panfortab.setBounds(330, 150, 650, 795); panfortab.setVisible(true); panfortab.setOpaque(true); panfortab.setBorder(bord); FilterClass fc = new FilterClass(); fc.setVisible(true); panfortab.add(fc); pan.add(panfortab, "Right"); // …

Member Avatar for LianaN
0
189
Member Avatar for extemer

i am doing a problem.the problems was that what do the following code prints class printing{ public static void main(String[] args){ for(int i=1; i<=10; i++) { for(int j=1;j<=5;j++) System.out.print("@"); System.out.print(""); }} This code prints infinte "@" and after some second the printing starts to slow down. when i do through …

Member Avatar for jon.kiparsky
0
118
Member Avatar for NewAndClueless

Hello, I can't seem to get this program working. I was asked to write a program that merges two files that contain polynomials. To merge two files, the input files must be in sorted order. The merge operation repetitively selects the smaller value from the two files. When two sorted …

Member Avatar for NormR1
0
214
Member Avatar for miraj0072004

hello friends, this is my attempt to execute an external cmd file through java and get the output printed to a text file while the program is running (not after the program has ended), since I need to do some real time manipulation for depending on the program output. [CODE] …

Member Avatar for NormR1
0
143
Member Avatar for LianaN

Hej guys! I have a little problem with layouting Swing components. I just need to add JTree: tree to the UPPER corner of JScrollPane: scrollpanesearch, and 4 buttons to the BOTTOM corner. What I have now is JTree: tree on the LEFT, and 4 buttons on the RIGHT (see Figure …

Member Avatar for LianaN
0
80
Member Avatar for Pushpasheela

I am create one program that contain two combo boxes. If first combo box i am display all date. If i select one date from first combo box then the second combo box display some dates based on first combo box select date. Here is my full program [CODE] import …

Member Avatar for javaAddict
0
208
Member Avatar for rebellion346

I can't seem to figure out whats wrong with my logic for the is it a function or not area. I used the following given test with the correct output: f(1) = 1 f(2) = 4 f(3) = 3 f(4) = 1 f(5) = 1 This function is a valid …

Member Avatar for javaAddict
0
237
Member Avatar for bufospro

Hi all, I am student and in two days I gine exams Java. I need your help to understand the below exercise. I have to explain all the lines from class RunParent [CODE]class Parent { double value = 0; public Parent() { value = 1.0; System.out.println("Parent value " +value); } …

Member Avatar for bufospro
0
99
Member Avatar for rabihkahaleh

hello team, i have a problem with accessing previous url in jsp. let suppose i am at page1,and a link in pagr1 will redirect to page2, i have to access the previous url which is in that case page1. any help thanks in advance.

Member Avatar for rabihkahaleh
0
26
Member Avatar for Rick.238
Member Avatar for jon.kiparsky
-4
254
Member Avatar for sushant5252
Member Avatar for jon.kiparsky
0
102
Member Avatar for rebellion346

Hey guys, wasn't sure where to post this but i posted it in both categories. Converting the for loop is probably the most confusing for me especially the arrays. Hope you guys can help me out, thanks. [CODE] #include <iostream> using namespace std; int main() { int Function[10][2] = {0}; …

Member Avatar for coil
0
147
Member Avatar for rebellion346

Hey guys, wasn't sure where to post this but i posted it in both categories. Converting the for loop is probably the most confusing for me especially the arrays. Hope you guys can help me out, thanks. [CODE] #include <iostream> using namespace std; int main() { int Function[10][2] = {0}; …

0
68

The End.