35,618 Topics

Member Avatar for
Member Avatar for ArunRaj.SRM

Hi, I'm having my login page as: [code=jsp]<html><head><body> <form action="validateuser.jsp" method="POST"> username - <input type="text" name="userName"> password - <input type="password" name="passWord"> <input type="submit" value="Submit"> <input type="reset" value="Reset"> </form></body></html>[/code] And Validator Page as : [code=jsp]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import="java.util.*" %> <jsp:useBean id="idHandler" class="com.suntec.tbms3.ui.Login" scope="request"> <jsp:setProperty name="idHandler" property="*"/> </jsp:useBean> <!DOCTYPE HTML …

Member Avatar for Vaishnav_1
0
14K
Member Avatar for Madhava_2

Hi , i have two jsp forms ,one is student1.jsp and student2.jsp in student1.jsp name ,fathername,mothernames are input fields and student2jsp brothername and sistername's are there one database student(name ,fthername,mothernames,brothername ,istername's) what i want is to store two forms data into onedatabase . is it possible?then how?.

0
168
Member Avatar for Ranvir_1
Member Avatar for rproffitt
-1
169
Member Avatar for John_165

When posting code, I get error > begin a line with 4 spaces in a row (or one tab), preceded by a blank line. 4+ spaces or tabs may not be used anywhere else.

Member Avatar for Anninflow
0
3K
Member Avatar for Salma_6

Ask the user to enter - Name - ID - File Name Randomly choose five grades for that person from 1 to 100 and store them in an array that can hold five integers. Then output the name, ID, and those five grades to the screen and save the output …

Member Avatar for rproffitt
0
368
Member Avatar for Salma_6

Ask the user to enter - Name - ID - File Name Randomly choose five grades for that person from 1 to 100 and store them in an array that can hold five integers. Then output the name, ID, and those five grades to the screen and save the output …

Member Avatar for rproffitt
0
401
Member Avatar for Violet_82

Hi guys, I'm a little stuck with something here. Basically I have a a method which, given a List of Students will have to filter out those who are younger than 60yrs old and should return a List of Students who are over 60yrs old but I want this to …

Member Avatar for Violet_82
0
1K
Member Avatar for Violet_82

Hi guys, I am having an issue finding duplicates in an arrayList. Here is some code studentRecords.add(new Student("Jo", "Pip", "JP000", LocalDate.of(1999,9,23), Sex.FEMALE)); studentRecords.add(new Student("Tara", "Bot", "TB345", LocalDate.of(1991,9,1), Sex.FEMALE)); studentRecords.add(new Student("Mara", "Lewart", "ML456", LocalDate.of(1988,5,23), Sex.FEMALE)); studentRecords.add(new Student("Anna", "Clarke", "AC010", LocalDate.of(1999,1,1), Sex.FEMALE)); studentRecords.add(new Student("Frank", "Boia", "FB300", LocalDate.of(2001,8,13), Sex.MALE)); studentRecords.add(new Student("Anna", "Clarke", "AC010", …

Member Avatar for Violet_82
1
2K
Member Avatar for seiya
Member Avatar for ้›ชๅซฃ

I new in learning Object Oriented Programming... I face a problem that how to do this question for loop and if.... hopefully can get some help in this website...` this question is need to do from the previos question.. this is java need to do the question using NetBeans.IDE.. question:(at …

Member Avatar for John_165
0
563
Member Avatar for franj776

I'm doing an assignment for a class and I can't figure out what I'm doing wrong to keep getting the "illegal start of expression" error. Any help would be appreciated. public class Overloading { public static void main(String[] args) { public static int max(int num1, int num2) { if (num1 …

Member Avatar for JamesCherrill
0
504
Member Avatar for Paul Timothy

![71923951_2309021662681505_5309298929043505152_n.jpg](/attachments/large/4/1849a45b2f18751c208bb45861be2f10.jpg)

Member Avatar for rproffitt
1
913
Member Avatar for JamesCherrill

At the risk of making a total fool of myself... I got very excited when I discovered that Java's "only opaque rectangular windows" limitation has been removed. Full release is intended for Java 7, but working methods can be accessed thru com.sun.awt.AWTUtilities in recent releases of Java 6 (I'm using …

Member Avatar for Reverend Jim
2
1K
Member Avatar for Saboor880

H! I am writing a java proram in which I need to generate and read barcodes to and from .PNG images. I used barcode4j-2.jar library to generate barcodes and write them to PNG image. I did this successfully. But I faced an error during reading that generated barcode from the …

Member Avatar for orichisonic
0
689
Member Avatar for Tรขn_3

The company sells the coffee in 2-lb bags only, and the price of a single 2-lb bag is $5.50. When a customer places an order, the company ships the order in boxes. The boxes come in three sizes: the large box holds 20 bags of 2 lb, the medium 10 …

Member Avatar for Reverend Jim
0
305
Member Avatar for darwin_nacional

Hi, I'm wondering if it's possible to have a desktop app with a database online? Can you give me an example? :P

Member Avatar for Elijah Alfredy
0
2K
Member Avatar for Dark_4

The question is compPickInt will now be a 0,1, or 2. Use an โ€˜if-else ifโ€™ structure to convert the numbers to a char variable with the value of R or S or P and Prompt the user to enter R for Rock, S for Scissors or P for Paper. Use …

0
167
Member Avatar for JQB45

Does anyone here know MVC well enough to teach me or know of a great tutorial I can read? I'm a Senior C#, ASP.NET Web Developer at my core but since I've been under employed for a few years I have not had the chance to learn MVC. Also interested …

Member Avatar for Daniel11
0
551
Member Avatar for g89

import java.util.Scanner; import java.util.Random; class Lottery { // MISSING CODE } public class LotteryDemo { public static void main(String[] args) { int[] userPicks = new int[5]; int matching; // Create a Scanner object for keyboard input. Scanner keyboard = new Scanner(System.in); // Create a Lottery object. Lottery lotto = new …

Member Avatar for Neel_4
0
1K
Member Avatar for Joe34

Hey, I'm trying to open a web page inside my newest android app. (I'm following this guide...) [url]http://developer.android.com/reference/android/webkit/WebView.html[/url] My goal with the app is to open up the web page every time it gets opened, but the web pages need to open within the activity. With the code below, it …

Member Avatar for Hasan_11
0
1K
Member Avatar for John_165

Are there any differencies between these two code ? if (!a.equals("")) { editDate.setText(a) } and if (a!="") { editDate.setText(a) }

Member Avatar for bngwebguru
1
3K
Member Avatar for madhava_3

hai all, i have 2 tables 1)state state contains stateid,statename here stateid is primary key. city contains cityid,cityname,stateid stateid is foreign key. 2)city now state contain 1 ap,2 tamilnadu,3 banglore. city contains chittor 1,madanapalle 1,tirupati 1 katpadi 2 ,kanchi 2 mysore 3 ,chintamani 3 when i select the ap city …

0
199
Member Avatar for Violet_82

Hi guys, I wonder if this is something I could do on this forum. I've never worked with REST, so I thought that it could be a good exercise to try to develop a very small and simple Java application and try to make use of REST as well. I …

Member Avatar for JamesCherrill
0
3K
Member Avatar for umadas

Hi all I need help to read outlook pst file from java.My pst file is stored in local hard disk.Now i want my java program to read that pst file.Kindly provide some inputs so as to proceed to the solution for the said problem.Can i do this through javamail api? …

Member Avatar for Vladan
0
3K
Member Avatar for madhava_3

Hi all, i have userid ,username,password now i want login using this query how; select username,password from tablename where userid=userid;

Member Avatar for John_165
0
179
Member Avatar for madhava_3

iam using oracle11g and jsp ,i have one task there i want use isActive how to use that. i dont know atlease what is isActive please explain.

0
208
Member Avatar for madhava_3

hai all , iam using the jsp in that i have small dought , DBtable: id,description,created by ,create time,modified by ,modified time ,isactive Jsp: i want to store that values in databse using the jsp;here id is auto increment,description is user enter ,created by created by ,create time,modified by ,modified …

0
177
Member Avatar for Gayathri_2

I am new to jsp. I have created a simple login page. Now i want to save/retrieve the password in textfile. The following is my code to save the username and password. I have save one user and password. Now i want to append new users in the same file. …

Member Avatar for rproffitt
0
346
Member Avatar for Vin vin

I am making a ping pong game using JavaFX, but before I am going to make that, I like to test the KeyEvents. I made a simple ping pong game about 2 years ago, but I like to improve my game. And was pretty bad controlls back when I made …

Member Avatar for Vin vin
0
2K
Member Avatar for Vin vin

So, I made a simple server-client chat program, but I have a problem: if the server tries to message the client, the server lags or freezes a bit, same with the client. is there something that I do wrong? import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import …

Member Avatar for JamesCherrill
0
1K

The End.