35,617 Topics
![]() | |
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 … | |
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 … | |
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 | |
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? | |
How would one get the values from a wav file. Would you use a data stream or audio stream? Thanks, jakx12. | |
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 … | |
[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] | |
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> … | |
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 … | |
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. | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
how to use marker in java script using C#. net | |
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 | |
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 | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
![]() | 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 ![]() |
The End.