36,051 Topics

Member Avatar for
Member Avatar for tulsi_apr03

hi , frends i have a problem with displaying data on jsp page. While displaying data on web page(jsp page) i want to display some records , after a certain time that will be "automatically display" the next some more records on it, and continue this while the end of …

Member Avatar for tulsi_apr03
0
232
Member Avatar for Riv3n

Hello, I'm currently working on a project which requires me to provide an [B]upload and download file manager with pause and resuming[/B] functionality. Much like GetRight with its GUI but with upload and download function. This project is PHP based and I believe that PHP can't do what is required …

Member Avatar for Riv3n
0
108
Member Avatar for eng_mary

hi every one suppose i have a Car class [CODE]public class Car{ [INDENT]int speed; int id; .. public void move(){ .... }[/INDENT]}[/CODE] and a Race class [CODE]public class Race{ [INDENT]int array[][];//contains car ids in race or 0 for none [/INDENT] [INDENT]Car cars[]; .... public void startRace(){ ... }[/INDENT] }[/CODE] if …

Member Avatar for eng_mary
0
184
Member Avatar for Majestics

I am making on-screen keyboard in java. All what i want to know is how to get focus into the notepad or any other typing point , I mean when i press a key it type it into the typing point like a keyboard do. If any one know any …

Member Avatar for Majestics
0
155
Member Avatar for Joncamp

I am trying to transmit an Image object through a Socket connection in Java. The only thing I may be missing is how to get an image size in bytes so I know how many bytes are being transferred over the Socket. I have the ServerSocket and Client working transferring …

Member Avatar for kvprajapati
0
4K
Member Avatar for keppy

Hi, I'm fairly new to java and am trying to write a form of banking system for a college assignment. At the moment I am trying to access the account number of the object userCurrentAccount with it's method getAccountNumber from the account class. This is where the object is created …

Member Avatar for kvprajapati
0
103
Member Avatar for sandeepdhankar

hi , i m new in java. i have 2 ques. 1. how to track Alt + s combination key in applet and 2.i need to send a image from applet to some url / servlet via http post. and display a progress bar showing the status of imge sending …

Member Avatar for BestJewSinceJC
0
58
Member Avatar for gstang95gt

I am new to Java, I am six weeks through a nine week class. I am having problems extending a class in my program. My assignment is as follows: Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product …

Member Avatar for gstang95gt
0
161
Member Avatar for MasterOfDevil

Hi, I dont sure that I am posting the thread to right place. I want to test user bandwith over an application that installed to user's computer. There are online test tools , but I must I need java source code for implementing to our application. Can anyone help about …

Member Avatar for Gasper11
0
63
Member Avatar for sifah

i want to validate the String entered wether it is a valid standard equation of [COLOR="Green"]conics[/COLOR] the standard equation is: ax^2+by^2+2hxy+2gx+2fy+c=0 some variables can be missed in input string but it should be of "degree 2" equation

Member Avatar for JugglerDrummer
0
89
Member Avatar for bokz06

what im having trouble with is making an applet which has animates like the matrix code.. lines come down at random positions etc.. my lecturer said that it only takes 20 lines of code and is very simple. he gave us this info as a hint: [CODE]Use the random class! …

Member Avatar for Ezzaral
0
103
Member Avatar for apocalypshiit

Hi everybody, i just have a task from my teacher..and the task is to make the chatting application with java (GUI = Swing) that implement the multithreading and multicast socket. can you give me the resource or tutorial??!! help me please.... :)

Member Avatar for apocalypshiit
-1
77
Member Avatar for ndoe

sorry i can't found tread about voice recoder!! my question is how to recording voice with microphone and play recording with java swing/netbean and output from voice is save to hardisk!! thanks all

Member Avatar for peter_budo
0
141
Member Avatar for cathy dow
Member Avatar for JamesCherrill
0
83
Member Avatar for cathy dow
Member Avatar for stephen84s
0
79
Member Avatar for xQuasar

I'm making a game server which involves three servers; a CommonServer, which connects the LoginServer and the Gameserver. Anyways, I've got another source that's similar that I'm looking at but I must have done something wrong. I've been looking at it over and over again and the other source works, …

0
61
Member Avatar for suretd

Good Day, I have an Abstract Class, Student, which has two child classes, FulltimeStudent and PartTimeStudent. I use the class, Test, to test how many credithours each student has and how much financial aid each student is getting. My output requests that firstly, i enter wheter a student is Full-time, …

Member Avatar for BestJewSinceJC
0
271
Member Avatar for llemes4011

Hi, I'm kind of new to the world of streams in Java, and I was wondering - I have this Server/Client program, and I need to read Objects and Text streams. I tried making an ObjectInputStream, and a PrintWriter out of the Socket's InputStream, but when I tried to read …

Member Avatar for llemes4011
0
79
Member Avatar for lyardson

the exact diff between c++ and java technically........need to submit a assignment

Member Avatar for mirfan00
0
284
Member Avatar for brandongood

I am getting the error in the title of this post when I try to run my ColorFactory class. Can someone tell me where Im going wrong? Heres my code: [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class ColorFactory extends JFrame { //Fields of the class private JLabel messageLabel; …

Member Avatar for brandongood
0
415
Member Avatar for tummalavishwana

Could any one you help me in resolving this issue. I want to write the content to a file line by line. I have done the following in my java class. I have to append the some content into an xml file. For this I am reading an xml file …

Member Avatar for kvprajapati
0
95
Member Avatar for bokz06

im having problem setting values into a String array.. it must be with a setter method (yes this is homework). i have created a Person class which u can set name, age, gender and then i created a Teacher class which extends person and further allows you to set ( …

Member Avatar for bokz06
0
7K
Member Avatar for ashokrajendran

Hi all, I'm doing the project, in which i'll get a string as response from the server. That string contains the xml content. I need to parse it and extract the required value of the xml tags... i have no idea about this, Kindly any one has a code to …

Member Avatar for kvprajapati
0
110
Member Avatar for javaman2

hello again everyone to pick up where i left off, i took the advice of a member and split my poker game up into different classes which i will post below 1)i need help with two errors in the poker class which i have commented out as compiler error messages …

Member Avatar for JamesCherrill
0
509
Member Avatar for mamatachaudhari

hii.. I want to use a scriplet variable in javascript. i used <%! int i;> <% i=0; %> <input type="text" id="itemValue" onchange=changeValue('<%i%>')> it works fine if i give alert(i) in changeValue function. Otherwise it gives error i is undefined. Plz help me. I don't want to bother user by increasing …

Member Avatar for mamatachaudhari
0
4K
Member Avatar for stewie griffin

Hi I am using jmf to build some music player and im want to add some equalizer that will "jump" up and down according to the music, how can I do it?

Member Avatar for kvprajapati
0
124
Member Avatar for mdharooonkhan

hello friends , i am searching job and put 5 projects and i am finding difficulty in explaning the current project so please can anybody tells me how to explain the project ,i mean how to start explaining and what should i explain .please its really urgent i am finding …

Member Avatar for ithelp
0
106
Member Avatar for gstang95gt

I am new to programming and have a question regarding a homework assignment. First off this is for an Inventory Program and it is part 2. The assignment is as follows: Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The …

Member Avatar for gstang95gt
0
145
Member Avatar for nishant52

I'm developing a Java application where I have to implement Shortest path algorithm (dijkstra's). I've stored the details of nodes in database. But my problem is that the number of nodes is very large (1000+) and taking all the nodes into consideration will increase the time and space consumption of …

Member Avatar for VernonDozier
0
120
Member Avatar for k8lj

Question 1) Define a class for Rectangle objects defined by two points, the top-left and bottom right corners of the rectangle. Include a constructor to copy a rectangle, a method to return a rectangle object that encloses the current object and the rectangle passed as an argument and the method …

Member Avatar for JugglerDrummer
0
149
Member Avatar for SnagglezMaw

I have a large file to read to get the data out of the columns. File size varies, but is usually around 1000 to 3000 lines. What I need to do is pull the data(numbers) from column 3 ONLY if the number in column 4 of that same line is …

Member Avatar for SnagglezMaw
0
82
Member Avatar for AmandaLouSmith

Hello, my name is Amanda and I am quite new here. I tried to add a few words to my website page located at [url]www.openrangemagazine.com/thisissue.htm[/url] - as you can see (if you don't mind going there) the page is now blank. I have no idea what I did. Here is …

Member Avatar for MidiMagic
0
136
Member Avatar for jin83

Note, some of the code could be hard to understand as a bit is in Swedish. Hi! I am trying to learn some sql/java. I created some tables in an sql-database, and a java-program to access and modify the tables. I am not that experienced in programming so I might …

Member Avatar for kvprajapati
0
104
Member Avatar for sanjayrawat177

PLEASE PROVIDE ME A WAY TO PUT A JSP OUTPUT IN PDF FILE........ ACTUALLY WHAT I M DOING IS THAT......... There is a JSP page which displays charts (bar,pie) of students (name and marks ) from database ,,i want that this chart output also display in PDF file... pls help

Member Avatar for sanjayrawat177
0
2K
Member Avatar for mamatachaudhari

SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.mail.pop3.POP3Message I am not getting why this exception has occurred.It throws the exception when i starts tomcat server. I have used recieve() method in LoginAction which is used to recieved mails using POP3 protocol. I am using JAVAMAIL 1.4

Member Avatar for kvprajapati
0
154
Member Avatar for mamatachaudhari

Hello' I m using struts 2.0 . I want a comboBox(<s:select>) on Jsp. bean i want to populate in combobox is nested. I only know list property of <s:select> but my list is nested. How can i populate combobox with nested arraylist.

Member Avatar for mamatachaudhari
0
95
Member Avatar for Netti

Hi there, Im creating a rating system in .jsp and im doing trial and error to figure out how to solve it. Here's the structure of the rating system. I have a jsp page call 'ListPhotos.jsp' of all the different images and directly below every image there is a hyperlink …

Member Avatar for kvprajapati
0
211
Member Avatar for palavi

log.info("Able to establish mail session"); props.setProperty("resource.loader", "class"); props.setProperty("class.resource.loader.class", "org.apache." + [CODE]"velocity.runtime.resource.loader.ClasspathResourceLoader"); props.setProperty("file.resource.loader.path", "/"); Velocity.init(props); Template template = Velocity.getTemplate("MarketingAlert.html"); log.info("Able to find Template."); VelocityContext vContext = new VelocityContext(); vContext.put("url", url); vContext.put("userId", createdBy.toUpperCase()); vContext.put("appName", applicationName); vContext.put("custName", customerName); StringWriter writer = new StringWriter(); template.merge(vContext, writer);[/CODE] IM working on enhancement...im getting the below exception: …

0
56
Member Avatar for ritesh399

Hi all, I am self submitting(reloading) the jsp page using javascript but after self submitting the value in <input type="file" name=" "> disappears . I tried to retain it using <input type="file" name="exe" value="<%=value[0][1]%>" > but it is not working. please suggest me how to retain this value. Thaks Ritesh

Member Avatar for kvprajapati
0
290
Member Avatar for Virux

So, I have plans for a chat applet. I have only flowcharts and drawings of what I plan to do. Right now I'm creating my own HTTP server to deliver the applet, which is working nicely. Now I'm trying to find some stuff I want to add to the applet. …

0
63
Member Avatar for djdanjo82

Hi All! First thanks for viewing my thread. I have spent a half day and change trying to find a solution to this specific problem. Basically I am trying to figure out how to change the variable name while in a loop. The last loop is where my problem is …

Member Avatar for kvprajapati
0
4K
Member Avatar for aries_87
Member Avatar for kvprajapati
0
35
Member Avatar for shahbaz5144842

Hi to all there ! i am trying to to execute the query to insert values into database but all the time facing this exception my code for query is this [code]String query=("INSERT INTO imageinfo (imgId,imgName,imgEntryDate,userName,imagePath) VALUES ( '"+ 0 +" ',' " + imgNam +"',' "+ date +"',' "+ …

Member Avatar for peter_budo
0
94
Member Avatar for chan95

Hi everybody, while i build my ant scripts in eclipse, and at the stage of [INDENT][/INDENT][B][exec] Invoking RMIC. [/B]i get an error complaining of some classes not being present. but where as they do exist in my project. Does anybody have any clue of why this happens Thanks in advance.

Member Avatar for chan95
0
78
Member Avatar for mamatachaudhari

hi.. I am using struts 2.. I want tabs on my jsp and my code is.. On first Jsp i used to create tabs which works fine for me. [code=JSP]<s:tabbedPanel id="test" labelposition="middle" > <s:iterator value="teamlist"> <s:url id="resultsUrl" action="navigateChangeTeamAction.action" > <s:param name="teamCode" value="teamCode" /> <s:param name="teamName" value="teamName"></s:param> </s:url> <s:div label="Team2" theme="ajax" …

Member Avatar for mamatachaudhari
0
2K
Member Avatar for grisha83

Hello, I wrote an add method but for some reason it does not add more than 3 values. Could anyone tell me why? here is my method: [ICODE] public void addValue(int value) { IntNode cur = head; IntNode prev = cur; IntNode t = new IntNode(value); if (value <= cur.data){ …

Member Avatar for grisha83
0
67
Member Avatar for wewehalim

Hi, this is my final project. I have generated an xml string, and i want to parse it with dom parser, but i have error here.. this is my code: import java.io.StringReader; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CharacterData; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; …

0
82
Member Avatar for kashn

Hi, I'm using a JTextArea in a JApplet, and having difficulty trying to align the JTextArea on the x, y axis... I've tries setBounds, setAlignmentX & setLocation... Neither seem to work. Plz help! This is what I have: [ICODE] public class Testing () { JTextArea TxtArea; Container Panel; LayoutManager Layout; …

Member Avatar for kashn
0
134
Member Avatar for JamesCherrill

Suns Java style rules specify that accessors should follow the getX/setX pattern, and most Java API mathods follow this... except for some very common exceptions such as: String length() enum name() [NB new to 1.5, not a legacy!] ArrayList size() etc It seems that there is another pattern operating here: …

Member Avatar for JamesCherrill
0
159
Member Avatar for dmanw100

Hello, I am having problems using an ObjectInputStream to read from a file. My program uses a File to check whether or not a specific file exists. If it exists my program will attempt to create a FileInputStream for the file and associate an ObjectInputStream with it. It should first …

Member Avatar for dmanw100
0
121

The End.