36,051 Topics
![]() | |
Hello friends i m trying to connect my jsp code with mysql front but i found myself helpless. please guys help me.....this is the code. <%@ page import="java.sql.*"%> <%@ page import="javax.sql.*"%> <%@ page import="java.util.Vector"%> <%@ page import="java.io.*"%> <%@ page language="java" %> <%@ page import="java.lang.*" %> <%@ page import="java.text.*" %> <%@ … | |
I have downloaded the code for drawing a bar chart, that has imported these packages import org.jfree.chart.*; import org.jfree.chart.plot.*; import org.jfree.data.*; import org.jfree.data.general.*; on compiling on java 1.6 these packages are giving error. What is the problem?? | |
Hey Every One, Is there a package or written class to access hardwares like cd rom by using a java code.i had referred the java documentation but i didnt found.If any one know about this please send me a feed back. i referred some basic books also like( java in … | |
Hello all, this is just another student level program and I need some help with the final bit. This a program that gets input from a user and outputs teh student name, average grade, all scores highest score, etc. But I am having trouble outputing the scores (which are in … | |
I want to draw a Bar Chart, Plz help me to find the code for it. | |
Hello Everyone, at first thank you for reading this post. I've searched nearly 4 Hours the whole Internet but did not find an answer which pleased we well. Does anyone know how get access to the gnome keyring tool through dbus in an Java Application. I shall write an Java … | |
dear bunch of developers, i have this JTable and i'm contructing it with a model object extended from a DefaultTableModel. The way i'm passing the data to it is by means of a vector: [CODE]public void setData(List<Object> data) { myTableModel.setDataVector(data); }[/CODE] ...and in my table model i have something like … | |
I have made my project in JApplet, Each JApplet is working fine independently. But I dont know how to link then I have a menu on the home page. private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: Month mth=new Month(); System.out.print("object created"); try { System.out.println("Trying to … | |
Hello, does anybody know what is the difference between thies two codes? [B]1- With this code I get "NullPointerException at process1.getCurrentNode();"[/B] public void signal(ProcessEntity process) { ProcessEntity process1 = getEntityManager().find(ProcessEntity.class, process.getId()); if (process1 == null) { try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } signal(process); } NodeEntity currentNode … | |
jt = new JTabbedPane(JTabbedPane.TOP); jt.setTabPlacement(JTabbedPane.TOP); //panel1 jp.setPreferredSize(new Dimension (50,50)); jp.setLayout(new BorderLayout()); jp.setBackground(Color.BLACK); jp.setPreferredSize(new Dimension(60,50)); jp4 = new JPanel(); j = new JButton("Draw The Graph"); j.addActionListener(this); jp4.setBorder(BorderFactory.createRaisedBevelBorder()); jp4.setPreferredSize(new Dimension(180,40)); jp4.add(j); jp.add(jp4,BorderLayout.EAST); String[] a = {"select "}; lab = new JLabel("x parameters"); lab.setLocation(700,700); jp4.add(lab); jcb= new JComboBox(a); jp4.add(jcb); lab1 = new JLabel("Y … | |
hi i m the student of bcs 6th term and i have a project in java and i am new to java plz help me how to create the IDE in java [B] project operation[/B] it can have all the editing capabilities it can compile the source code it can … | |
Hi, I have hidden field in the jsp mentioned below: [B]<input type="hidden" name="SelectedTime" value="<%=request.getParameter("SelectedTime")%>"/>[/B] How to set this hidden field value to null? I tried using request.setAttribute. But it is not working. Please note i am using this field in the current page only. Please help me out. Regards, hampali | |
Hi can any help me how to call a Crystal report 10 in JSP? Please provide me sample codings if you have. [B]Thanks[/B] in advance | |
I am using one jsp page. In that page there is a field to select a date this value will go to the report and report contain one selection formula. Which value we are passing on that basis the report should display with date which we are passing from GUI. | |
Hello All, OK I am not sure if any of you here are also coming from the C++ forum, but I finished my C++ class, got an A, thanks to all your help, and now I am onto Java. I am still a beginner in both Java and C++ and … | |
1st off, I'm new to JAVA/NETBEANS, and my experience lies mainly in C and the Sparc assembly language. The above problem is one I've solved in C (input a string of hex characters and then convert it to a binary array for the purposes of bit manipulation, namely for debug … | |
Hi, first of all I apologise for all the mistakes I am going to do writing in English. I will try to explain what I should do. I manage a web site where the owner like to put a sort of newletter for members. It doesn't sound so difficult... but … | |
Hello: I was implementing payment processing through Moneris. I set some information in session variables. Then I go to moneris hosted page. After I come back from moneris, my session variable values expire. What am I doing wrong? If increasing session timeout variable will work or not? I am using … | |
Hello: I was implementing payment processing through Moneris. I set some information in session variables. Then I go to moneris hosted page. After I come back from moneris, my session variable values expire. What am I doing wrong? If increasing session timeout variable will work or not? I am using … | |
hi i m new to java programming and i want to make a voice chat which access a sql server db and extract ip 's of all clients that every one log in by ip (on LAN) and the problem face me now is to broadcast voice to all these … | |
Hi, I want to build my own simple 2D RPG in Java. Whilst I am new to Java, I do understand the fundamentals of OO programming, and I am quick to learn, as long as someone isn't too impatient. I just wonder if there is anybody who can check my … | |
Hey, I'm pretty new to Java and I was hoping someone could help me out. I wanted to know how to store the information that a loop shows. I've been asked to create a project which adds up the squares of the numbers from a to c, and this is … | |
i have a USERNAME and PASSWORD text field. how can i call it using JSP | |
i am the student of final year computer engineering and i need the topics of projects applicable to it... so please help me if u can..... i really thank you in advance for giving me your time and mind blowing ideas.... | |
hello guys, good day! i would like to seek for help regarding on how to cascade drop down list using struts tag <html:select> with ajax. it goes like this. drop down list 'A' is the list for Car Brands and drop down list 'B' is for the Car models by … | |
hi, want to call td element value to next page ,which is getting thru session attribute.while calling getting null in next page. below is my code pls help me thanks in advance. <input type="text" id="tname" value="<%= session.getAttribute("ename") %>"></td> next page iam calling as: name=request.getParameter("tname") | |
so i have a war deployed, and i need to make a temp file. but when i make one in the java app it creates it in the tomcat root which is not equal to the web root... how do i create a tmp file in the root if i … | |
i want to edit my posted Message,Can you please help me how to edit my posted message here | |
Hi all, I have to write a synchronization utility which synchronizes a target folder with a source folder: i.e. I have the following source directory structure and would like to synchronize it. [code] C:\source\ | +----Folder_A | | | +---Folder_A1 | | | | | +---File_AA1.txt | | | +---FileA1.txt … | |
simple questions, hopefully simple answers: How do i give a JButton the capability to accept a right click? When a JButton is being clicked it changes to a darker color, is there a way to make it a completely different color? i cannot find these answers in the API or … | |
hello, i am trying to convert a doublt to float but it doesnot work on the form..can some one please help me.my code: <display:column property="WGTD_AVG" title="Avg.Sales 3Months" sortable="true" class="alignright" format="{0,number,###.##} " style="text-align: right;" /> thanx a lot, cutelucks | |
I'm a complete rookie with NetBeans, and that's unfortunate because this summer our Instructor wants us to use NetBeans throughout the entire course. I'd just like to know... how do I add existing files to a project? I've tried right-clicking the project folders to see if there was some kind … | |
Hi, I'm working on a personal project, developing a program that would help me. I just thought it would be nice if I could turn it into a click-and-run executable application rather than the .bat file I've put together. Anyone have any ideas? Thanks, Lakepoint | |
Hi friends, I have[B] build swing based application on windows os and I want to run this application in linux.[/B] The .jar file runs perfectly on windows. but not running on linux. gives error as below. pls. help regent@regent:~/main the law$ java -jar thelaw.jar Exception in thread "main" java.lang.NoClassDefFoundError: while … | |
Hey everyone, i'm working on this code...i'm trying to put some images ---animations--on to my jpanel..the problem is everytime i try that, it gets repainted with initial screen setup I have...how do i solve this..here is the code.. import com.sun.org.apache.bcel.internal.classfile.JavaClass; import java.awt.event.*; import java.awt.image.ImageObserver; import java.text.AttributedCharacterIterator; import javax.swing.*; import java.awt.*; … | |
Hi, i am currently devloping our own version control system. i want to compare two xml file by using sax parser in java. can any one give the source code to me or post to <<email snipped>> | |
I am working on a JAVA project which needs to set the System date and time. I want to open Date and Time Properties of Windows through my Project. When I click on JButton, it should open Windows Date and Time Properties. How to do it ? Please Reply. | |
does anyone knows how to do this plz help | |
I have a problem here that's stumping me. OK, more than one. :) But only one for now. This program reads two input files. The second file is processed first in a loop. Then, I want to use this information to update information in the first file. Here's the section … | |
I don't wan't my buttons to reacts to hover events or any other events... and i dont want to disable them.............................how do i do that without disabling them ? | |
i wanted an image background on a Jpanel, so I got a programm that overrides the paint function. Now i have a code that draws the image as a background and also enabled me to have some buttons on it...now i want to add more images (or animations) on my … | |
Hello friends, I m tyring to get the History of the user who login's and sees the details of the project I want to maintain the session of a particular user in accordance with the history . so could you please help me in by giving me the code related … | |
Dear my friends, I really need your help to work out JSP function in my website. In navigation section, I want jsp code which can show all information relevant to a navigation button customer click on: Eg: I have navigation called laptop. After clicking on laptop navigation, customer will see … | |
I understand that string buffer can append data and write it in a text file. But my question is, how big or the size stringbuffer can store data? can it store more than 10000+ data? what about the performance of the system? Or should i create a if-else statement to … | |
Hello! its me again, I need a liitle help. Our teacher gave us a homework where we need to create a program that will determine the larger of the two inputed number, plus we have to determine if the input is an integer or not. Ive already coded the program, … | |
hi 4 all i m trying to make a voice chat i make the client and server but i want to make all logging members hear the voice in the same time (public) need some help thanks in advance | |
HELO, Can anyone tel me where i can find gud tutorial fro building a simple strut application. Thx. | |
Dear All, Im Raj. Im currently working on a project where there is a requirement on inserting the login details into mysql database. Im not sure with the code. Can anyone provide me the code to achieve this task. For example, i want to store login name, login time into … |
The End.