35,617 Topics

Member Avatar for
Member Avatar for fraenckel

This should be really easy, but I'm a novice at webapps.... I have a simple drop down list in my JSP which I created using <select> and <options>. I've got a javascript function in which I would like to get the selected value and proceed to do other stuff with …

Member Avatar for fraenckel
0
172
Member Avatar for pi_lord12

So to get practice writing applets, I tried to write one that simply draws a chessboard in a 160 x 160 window. I am pretty sure I got the code right for both the html and java files, and I have the html file in the same directory as my …

Member Avatar for pi_lord12
0
118
Member Avatar for ceyesuma

Hello Could someone tell me if I had a table and I have the meta data for the columns,could I somehow collect the table name,column name and the data type and save it in something so as I could have these attributes to draw from in other classes? Thanks

Member Avatar for NormR1
0
72
Member Avatar for miraj0072004

hey all, i am trying to add a harvest plugin to the config.xml in cruisecontrol...but when I do that i get the error stating that "allfusionharvest.class" is missing...when I checked the classes indeed it was missing...how should I resolve this?

Member Avatar for NormR1
0
66
Member Avatar for jakx12

How would one get the values from a wav file. Would you use a data stream or audio stream? Thanks, jakx12.

Member Avatar for jakx12
0
71
Member Avatar for Krefie

Ola! This is my first post so i hope its not a stupid one ^_^ ok, I have large quantities text i want to read into my jTextArea, to keep it all nice and clean i use tabs(6 chars long), the problem is that sometimes the words or strings get …

Member Avatar for Krefie
0
171
Member Avatar for jt86442

[B]Hi guys, How can we add background colors in PDF document while generating to pdf form by using java. If you know, could you please share to me[/B]

Member Avatar for NormR1
0
68
Member Avatar for azhar27

In the below code i m trying to send my request attribute from req.jsp page to retr.jsp. i would like to know if we can pass request attributes from one jsp page to other jsp page the below is my req.jsp [CODE] <html> <head> hey i m page 1 </head> …

Member Avatar for javaAddict
0
295
Member Avatar for red_evolve

Hi. I have just been introduced to string tokenizer in one of the java lessons. It can remove characters from an array of strings. So, I am wondering if it could remove a string from an array of string. For example: "the fish was eaten by the cat". I'd like …

Member Avatar for skylover87
0
550
Member Avatar for hkeng08

Hi all, I know there's OCR to extract text from image, but is there any technology or classes in java that allows us to extract chinese characters from image?? I understand that OCR could only extract just barcodes and ascii characters from image.

0
49
Member Avatar for BestJewSinceJC

Problem: when the user prints the JTextArea, the text at the right-hand side of the "paper" is cut off, despite the fact that it is visible on the screen. Question: How can this be solved? I've tried two ways of printing the text area, and neither has worked as I'd …

Member Avatar for Krefie
0
507
Member Avatar for SimpleIntellect

This is the error I'm getting. Exception in thread "main" java.lang.StackOverflowError at knapsack.knap.knap(knap.java:16) I would really apprciate the help. Thanks in advance. [CODE] package knapsack; import javax.swing.JOptionPane; public class knap { static int N; // Number of items static int [] size; static int [] val; static int [] maxKnown; …

Member Avatar for NormR1
0
161
Member Avatar for j_kathiresan

Hi, I'm having a very large string which as below -------------------------------------------------------------------------------- EQD+CN+SAMPLE18767+2200+++5' NAD+CA+FIR:172:20' DGS+IMD+3.2+2346+55:CEL' FTX+AAA+++GOOD' FTX+AAA+++ONE' .... .... EQD+CN+SAMPLE18795+2200+++5' NAD+CA+TIR:172:20' DGS+IMD+3.2+2346+55:CEL' FTX+AAA+++SECOND' FTX+AAA+++IS FAIR' .... ... similarly FTX+AAA as above and it goes on -------------------------------------------------------------------------------- i tokenized each segment with delimiter as ' and able to read each segment. Now …

Member Avatar for nbaztec
0
166
Member Avatar for chris evans

Hi, im working with the Java Regex class and so im parsing some text. each piece of text is in a separate line. here's a sample of the text: this is textHello world buzzinga! Makmende says hi Makmende has poked u. dnt try poking him back! young, forever young another …

Member Avatar for leverin4
1
144
Member Avatar for bryan69

hi, im trying to compare the md5 key of a file selected with the md5 key of known files stored in a text file. i can get the md5 key of the file selected and all & also read the text file line by line however, i cant seem to …

Member Avatar for NormR1
0
1K
Member Avatar for ubi_ct83

Hi guys... Thanks for viewing my thread and hopefully u could reply a thing. i have this: input: -i 2,3,4,5 [CODE] public class Main { public static void main (String [] args) { static int value[]; static no_of_parameter; for (int i=0;i<args.length;i++) { if (args[i].equals ("-i")) { String value_str = new …

Member Avatar for ubi_ct83
0
102
Member Avatar for sara khan

I m making a website in which I hav an admin and members .. I want to define rights of users who can access a certain page.. For this purpose I m using an array of String along with a Session object. I m storing URLs of pages which a …

Member Avatar for sara khan
0
227
Member Avatar for AbhikGhosh

Hi I am not been able to receive URL parameters passed from my ajax code in my jsp. Here is the code [CODE] function showDetails() { document.detailsForm.sltdUser.value = selectedUserID; alert('selectedUserID' + selectedUserID); var httpRequest; var url = 'showDetails.jsp?sltdUser = ' + selectedUserID; if (window.XMLHttpRequest) { // Mozilla, Safari, ... httpRequest …

Member Avatar for Thirusha
0
731
Member Avatar for vanitha ravi

hey guys i wants to know about the basics of JAVA because i am here going to study that subject i want a basic reference book please help me

Member Avatar for javaAddict
0
50
Member Avatar for iskalabatoto

hello everyone,i'm really new at java...but they said that an I.T student like me should learn and apply Java very well.I always try my best( as every1 do) to learn and apply Java codes or whatever...but this time,i'm very confused.this is related to incrementing and decrementing values. our Instructor ordered …

Member Avatar for peter_budo
0
213
Member Avatar for mindbend

Need to make a website for a school project. Decided to make a website like photobucket. I got every page read, but the only thing missing is the uploading part. Does anyone know where I can find some examples of uploading blobs? Or mayb someone can share one. The thing …

Member Avatar for mindbend
0
90
Member Avatar for farukdeni
Member Avatar for snehalata86

Hi all, I am new to JasperServer.I have been trying hard to create a simple jasper report using single value prompt.But it is giving error when I run it. Please can anyone give me steps to create a jasperserver report using single value prompt??? Please help me

0
52
Member Avatar for vanitha ravi

hey guys i wants to know about the basics of JAVA because i am here going to study that subject i want a basic reference book please help me

Member Avatar for naziatarannum
0
66
Member Avatar for fankoff

It simply wont forward my page! I`ve tried everything, and it still wont forward it. Basically what I have is a register.html where the user can put his username, passwort, etc. , a db_register.jsp which handles the input and sends it to the appropriate tables in the db. When the …

Member Avatar for javaAddict
0
172
Member Avatar for techgirl87

Hi, I have a complicated situation. I am signed up for a CS420 course (Data Management Systems) this summer, although I haven't completed 2 of the "prerequisites" for the course which are a 100-level Java course and a 300-level 'Data Structures' course. I am taking the course at a small, …

Member Avatar for darkagn
0
256
Member Avatar for OffbeatPatriot

I'm trying to use generics in some methods and Netbeans is telling me I'm doing it wrong. It tells me that the lines ***Data = input is wrong and return ***Data[index] with errors to the effect of, required: byte[] found: T[] or required: T found: byte Is there a way …

Member Avatar for OffbeatPatriot
0
90
Member Avatar for Zetlin

Alright guys, so right now I'm working on a program that finds the current focused window and adds a KeyListener to it. The problem is that unlike when you have a window running and you add a KeyListener to it and it stays working until you close the window, once …

Member Avatar for moutanna
0
201
Member Avatar for fankoff

One last question, really ! How for goodness's sake can I load the results in the html page without leaving it? Always when I click a button (do I always have to click a button? is there a way to call a resultset from the html and to handle it …

0
82
Member Avatar for deiago

Hello I have this NetBeans project to complete and im having a problem passing text from a Jtextfield to another JFrame. I just need to get the data to that JFrame to use an SQL. Please help me Kind regards, Java newbie

Member Avatar for deiago
0
243

The End.