32,204 Topics
| |
is it possible to get the return value of a method from one java page to jsp page | |
[CODE] import java.io.*; import java.util.*; import java.text.*; //-------------------------------------------------------------------------------------------------------------------------------------------------- public class KateAug17{ private static StringBuffer buffer; private static BufferedReader input1=null; public static String [] arrayM1 = new String [10000]; public static Double [][] coordinates1 = new Double [10000][4]; public static Double [][] coordinates2 = new Double [10000][10]; public static String [] … | |
I have been given a program to write in java but inspite of thinking hard I have not been albe to get the logic for doing it. Here's the problem- I am given n dice which are rolled simultaneously and one of the possible sum of the dice. The program … | |
I have a problem, I want to change the value of the textfield dynamically, Like,I have a form with its values set at the start( using database) , but when i update the form and redirect to the same form with same text fields(I have to use another bean for … | |
hi all, im doing web using java.there is input n output in that page.everytime i want to change the input, i have to open new window.so, i want to settle that problem with just refresh the page.but i dont now how.anyone here can help? thanks for advance...... | |
Hi , I am currently doing a university project 'creation of a web mining tool to gather information about individuals and classify them semantically'. I am currently lost and don't know how to start. Does any one have tutorials links that explain how to use java to connect to website … | |
How to upload an image with servlets. Can we do it without fileOut.write(); Is there any method to upload an image from user and save it in a desired location in server?? Thanks & regards | |
I compiled a HelloWorld example using QtJambi. But on running it, it said "[B]failed to unpack native libraries[/B]. The complete error was : [CODE]daud@daud-laptop:~$ java -d32 com.trolltech.examples.tutorial.HelloWorld Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60) at com.trolltech.examples.tutorial.HelloWorld.main(HelloWorld.java:58) Caused by: java.lang.RuntimeException: Loading library failed, progress so far: Unpacking .jar file: 'qtjambi-linux32-gcc-4.6.3.jar' Checking … | |
hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in … | |
Hi, I have a project which calls an internal jar included in it´s classpath. At a certain moment my code makes this call: [CODE] Runtime.getRuntime().exec("java -jar ./jars/myJar.jar"); [/CODE] It works when running from Netbeans, but when I make "clean and build" and then execute the new jar ( outside of … | |
Hi, I have been practising some OOP and have encountered this error `" cannot resolve symbol - variable MyInput"` I wonder wat's wrong...here is part of my code: public class BorrowMortgage { //Main method public static void main (String[] args) { //Create one borrower Borrower borrower = new Borrower( ); … | |
all i need is this, i can write this in almost every other language except this; a loop to show me the constant mouse coordinates (x,y) of the mouse on the screen, much help would be appreciated if you could write a sample program its only 2 lines. | |
Hi all, I have a method set to return an array of type integer but I would like to know how I would access the independent values in that returned array. My program does this: User enters numbers seperated by spaces and the program computes such things like the average, … | |
im making a grades program to try to keep my skills sharp. since i have gotten out of apcs i havent really been doing too much of anything with java. i decided the other day that i was going to try to make a grade program, kind of like what … | |
hi all, im doing web using java.there is input n output in that page.everytime i want to change the input, i have to open new window.so, i want to settle that problem with just refresh the page.but i dont know how.anyone here can help? thanks for advance...... | |
..HEY GUYZ...Hey guys...I was trying to link the Input applet with the code such that, when the user selects like the "Edit function" it refers back to the input function with the empty spaces to fill the new Student information //Marcus Student's Database program. Using Linked List. //The prog. shud … | |
Hi,Norm jon, I am posting a new thread for tagging the code accordingly. Hope this helps out. 1.My ball is not bouncing within the circle i drew.(Within circle 2).It just goes vaguely toward one direction and comes back.I want the ball to bounce randomly.Just like in the game ball and … | |
HI,need help continuing this code, im stuck and i want to make it work Thanx import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; public class WinListBs extends Frame { Button btnExec, btnExit ; Label lblNum ; TextField fldNum ; List lstVals1, lstVals2, lstCommands; Node head = null; Node … | |
Hello, ok I have a problem with JFileChooser.When I save a file with a name that exists already, It replaces the older file and saves the new one but I want make it show a confirmation message to the user to ask if they want to replace the file or … | |
Hi all, So, I'm building an SSL server/client app, and I keep getting this exception: [CODE] javax.net.ssl.SSLHandshakeException: renegotiation is not allowed [/CODE] Does anyone know how I can work around this? Here are my codes: [U]SERVER:[/U] [CODE] //server.jks = keystore //ServerJKS = keystore password //SeverKey = certificate's password (certificate = … | |
Is it possible to add a flash content in java.Can any one help me how to do it or just a hint from where i can get help for it. Thank You in advance. | |
Hi all, I am using Java code to send email to users. The code is SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps"); tr.connect(MailHost,FromMailId,Password); tr.sendMessage(Message,Message.getAllRecipients()); FromMailId is from user mailid Password is from user password. Message is what can from user sent to toUser Message.getAllRecipients() are to user mail id.. But how do … | |
Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: … | |
hi there, my programme stores all the coordinates from a text file into an arrayList. And from the arrayList I want to read out 3 elements at a time. Each element being a pair of (x, y) values already in a arrayList, e.g.[...., 34.123 2.121,....]. Now I need to read … | |
Hi all, How to I know the Delivery Status of Sending Email. I am Using JavaMail API to send an Email to ToUser. The code is : SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps"); tr.connect(mailhost,psFromMailId,psPassword); tr.sendMessage(poMessage,poMessage.getAllRecipients()); Is there Any method to get the Status? Please help me Thanks Myl.. | |
Hi everyone, I want to intitialise an object to perform a certain computation and wait for the object to finish, but I'm not sure what the best way is to go about this. Here's a couple of methods to give you an idea of what I'd like to do: [CODE] … | |
Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some … | |
I am trying to find a tutorial to lean how to use a JFileChooser in order to read a file and convert it into a tick mark chart. I seen it on a demonstration video on sun.com and I thought it looked awesome. Sadly, I tried to google for tutorials … | |
[CODE]import java.io.*; import java.text.*; import java.util.*; /** * FileSentenceReader - Uses sound i18n method to parse sentences. * Created 12/03, Last mofified 09/07 * @author: Tony Dahlman */ public class FileSentenceReader { /** Reads through a text file, parsing it into sentences * in sound i18n fashion. Returns an ArrayList … | |
Hi...I am thinking of building a Word Processor in Java for my project... The problem is that there are many components in Java for that..like JTextComponent, JTextField, JTextArea, JTextPane, JEditorPane, and some styled Documents too... Can anyone say me which one to use considering the fact that My Project should … |
The End.