36,051 Topics
![]() | |
Hi, I am new to JSP and am trying to do this. I am trying to search a table for data using the form entered data, display it to screen, allow user to change it. And this should update the new values in the table and write the old values … | |
well, i started generating my code through Textpad, and when i run it, it runs smoothly, but if i am to create the jar file through Netbeans, it becomes a disaster and returns a null error. i cant even figure out where the error is... here is the part of … | |
i have a method that saves an object to file : [CODE=java]public void Save() { if (canSave) { JFileChooser fileChooser = new JFileChooser(); if (fileChooser.showSaveDialog (this) == JFileChooser.APPROVE_OPTION) { ObjectOutputStream out; try { out = new ObjectOutputStream (new FileOutputStream (fileChooser.getSelectedFile ())); out.writeObject(this.game); out.close (); } catch (IOException ex) { } … | |
hello guyz,,,i just want to ask if it's possible to put "my picture" in my code..at the JOptionPane?? ex: if i run my program,,the first that will appear is my picture before i start to input anything in the JOptionPane.. is it possible??? i hope you can help me guyz,, … | |
hii. i wanna know how to send an email through my jsp page.Anyone plz help me. | |
i have a clients.dat file with client info in it. i have gone through it to find the record i want to delete, used PushBackBuffer to unread the one i want top delete, skipped that bit and carried on reading the rest and writing it to clients.tmp. after i have … | |
Hi, learning hibernate but still experiencing some errors and exceptions ... [B]My User.hbm.xml[/B] [code] <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.genuitec.hibernate.User" table="SNX_USERS" > <id name="userId" type="java.lang.Long" column="user_id" > <generator class="increment" /> </id> <property name="firstName" type="java.lang.String" column="first_name" length="20" /> <property name="lastName" type="java.lang.String" column="last_name" length="20" /> … | |
Hi I was wondering if somebody could help me i am completelty stuck I want to read in triangle measurements from the command line check if the tri is square then when the user is done print out the amount of squares. the user would signfy that s/he was done … | |
Hello. I have built a hibernate project and the dropdown list and the table load data to the web page but the drop down list is not poulated with the names (derived from the xml id) There is a lot of code to paste. Is there someone that could help … | |
Hi, I hav a problem at hand...plz help out. I am not allowd to compuet o(n)...i need to compute the algorithm in O(log n). Suppose there is some number N, and there are 7 elements in another array. Each element in the array is given another special number(one number per … | |
![]() | hi, i need urgent help with my code. My program, which converts word strings to its number equivalent, only works with special cases. Example: "nine hundred ninety nine thousand nine hundred ninety nine" outputs 999999. (which is correct.) But try inputting "nine million nine hundred ninety nine thousand nine hundred … |
Hi guys, the thing is: suppose that there is an application (assumed that we are using Windows) waiting for some input data. This could be a password, path, search criteria (for example in the case of Google). I would like my Java application to 'enter' some text, and then to … | |
Hi, I would like to know more about deploying Java application on mac.... I am going to start preparing a Java application which will be used by normal non-technical persons on mac. So, is it possible to create a setup like thing for users on Mac for a Java application. … | |
I presume that by back button you are referring to a browser and you have implemented that with JSPs. In that case when the username and password are correct, save the username in the session before you redirect to the next page. Then when you go to the next page … | |
Greetings, Within my jsp I have HTML code (see below) which accepts input, one of these fields sequence unlike the others is an Integer and within the HTML FORM the INPUT TYPE is set to "int". [CODE]<FORM ACTION="wk465682AddFAQ.jsp" METHOD="POST"> Id: <INPUT TYPE=TEXT NAME=Id><BR><BR> Category: <INPUT TYPE=TEXT NAME=category><BR><BR> Question<BR><TEXTAREA NAME=question COLS=100 … | |
hi, :p i am trying to achieve a registration page in JSP. i am using tag library to do this. c tag library and Sql tag library. [CODE] <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <c:if test="${param.submitted}"> <c:if test="${empty param.name}" var="noname" /> <c:if test="${empty param.pw}" var="nopw" /> … | |
Hi, I really do need some help, and it seems, that this is the best place to get some. A while ago, i was looking for an alternative to stage 6 DivX hosting, when i came to a side which suddenly smashed a whole lot of spyware on my computer. … | |
Hello, I am trying to allow my program to accept multiple transaction records. I have created a file creator (CreateData) to populate two text files (oldmast.txt, trans.txt). CreateData will need to be run to create these two files. I have also created a file matching class (FileMatch) to process and … | |
this is confusing, I wrote this a while ago, and it didn't work right, I am almost sure that it is a simple small error somewhere that I am just missing. when i wrote it I didn't think that it would be good to post it here because of the … | |
In this I jave already stored the previous exam details of the student in the database.I just fetch the datatbase are create the full exam form report of the student. What can i do different in this?? Plz help me out.... After user logins to a page and then log … | |
I thought I understood how this worked, but maybe I do not. I intentionally left a field out of my compactdisk class (artist) so that I could create a sub class later, impliment it, and see how that whole thing worked. Sounded simple, I still think it is, I just … | |
how can i get an array to wrap around?? ex: array String[] whatever = new String[3]; if i ask for the whatever[2] +1 I want it to give me 0 not 3 and if i ask whatever[0] - 1 i want it give me 2 | |
I'm making a Servlet application using the a MVC-like implementation, however I'm slightly confused on how I should delegate concurrent modification of the state of the Model object? I intend to use a database to hold information from a given session for a particular individual (the data will be retrieved … | |
Hello all, I want to find the external edge of an object. I used Canny, but it finds me any edge (inside edges as well) When I play with the thresholds somtimes it pass skip the external edge but finds an internal one. Solution anyone? Thanks | |
Hi, I've got a method that returns 'null' for a linked list [CODE] public LinkedList<names> Relate(names Student) { return null; [/CODE] How can i get it to return an empty List, so that I dont get a null pointer exception? Thanks in advance, | |
Hi, I have two frames in a window and , left frame (left side menu) has jsp page with buttons and select box and right frame will be loaded with different jsps depending on the button clicked on the left frame. The request parameters like select options of select box … | |
I(under graduate ) need an idea for my final year project. I hope to do an agent sytem.Can anyone give me an idea about a project? | |
can someone help me understand what i'm doing wrong here. attempted to run, program builds but no output is generated and the compiler does'nt generate an error message. thank you all. [ICODE]import java.util.Scanner; import java.io.*; import java.util.ArrayList; public class arrayManipulator { public static void main(String[] args) throws IOException { ArrayList<Integer> … | |
I am undergoing a java based project now a days.Can anyone please tell me how to insert sounds in it at different events. | |
Hi there i have some problem in this question . anyone help me on thaT? i don't know how to do the loop part. Thx. user has to enter 3 value and draws corresponding bar graphs using an ASCII character. For example, if the user entered 18,4,5, that program will … | |
Hi I have this application idea for a java program as my final year project and was wondering if it was feasible. It invloves generating id tags for audio tracks. However instead of the data being based on existing data and filling in the missing info, The application will analayse … | |
why do we need interfaces in java?,if the functions are to be defined in implementing class only then why declare these in an interface first????????? | |
hi , actully i have read filters in servlet. but i didnt understand , the actual working of filters ( in practicle environment). i want to know that , when i am sending request to server and i am using filter before request went to server. so that process is … | |
hi can someone [COLOR="Red"]please[/COLOR] tell me how to insert a image into an image array. The image is currently in the same folder as the class file. | |
Hai friends, I don't know how to write a coding in bean.? As well as how to compile and run Bean coding | |
Hi friends, I am new to JAVA but i know c/c++ very well. I want to learn java so please help me from where i can start it and which book i should refer. | |
Hi guys Im pretty new to java after programming with python for about a year i thought i'd give it a go. I did have a quick question though. How would i check for membership in a string. For example [code=java] String str1="Hello world"; String str2 = "world"; [/code] Is … | |
Hi friends, I want to make a movie player.I heard about JMF but not had any idea.If anyone knows, kindly help me. thanks, ram | |
Dear Sir I want to develop an application that will get the current market price of the stock using jsp. | |
i am new in java can any one please tell me the main use of constructor if we can use method in what cases its necessary to use constuctor | |
Hi well wishes to all i have written the code for to create to-do list in java swings with mysql i hereby attached my code to you for reference Req: Taskno(set as primary key), Task Name, Task GroupName, TaskPriority(high, low and medium which is mentioned in combo box), task status( … | |
I am looking for someone to help with a project, skill set required : JAVA viz. J2EE, JSP, Servlets, EJB, JDBC , J2ME, Web Services . If you have domain knowledge on IPTV or Video on Demand type of applications if will help. Middleware development is the major requirement for … | |
Can any one help me out in creating sessions for each request in java servlets so that until one request completes no other requests will be processed..... | |
Hello, i have created a HTML table dynamically using javascript and JSP, i have to store the values inside the table to database. Thanks in advance. Ananth | |
i have a file from which i have to read and compute the total value of all items,i dont know what methodto use to read arrays i tried DataInputStream(object).readInt(quantity[]); but it says it is wrong can any one help me in reading from the file and computing the total value … | |
i would like to know how to get ipaddress using host name of my friends computer in java programming. I have tried using [COLOR="Red"]getByName(".....")[/COLOR] method ,but it is a failure. will u assist me....... | |
Hi guys, what might be the cause of this exception, the reason why I did not make my methods static is because I'm running it on putty. Here is my error: Exception in thread "main" java.lang.NoSuchMethodError: main [code=java] package NCN; // Trying date formatting import java.util.Locale; import java.text.DateFormat; import java.text.ParseException; … | |
Hi All, Im having one problem in the multibyte character support im using GB18030 encoding in my application. Im using Weblogic sever. the configuration that i did so far is 1. Web.xml - Configured the GB18030 encoding 2. weblogic.xml - Configured the GB18030 encoding 3. ActionServlet.java - added GB18030 encoding … | |
Hello Everyone, I've created a jasper report in pdf format , and it is getting stored in the dir, can anyone tell me how to read that pdf from jsp and to display in that...cond:i cannot make the report from jsp.i have to read that from the dir(d:/reports into report.jsp)..........................Thanks | |
Hai to all i want to program to send email automatically. How can do tell me all step plz.. Thanks in advance |
The End.