35,618 Topics
![]() | |
how many days will it take to get perfect with core java? any shortcuts? | |
how can i write a code which counts to me number of visits a user had to site, and total number of visits to that site from all users. | |
i'm trying user login ...logged in users are sent to a hash map for further reference. my prob is hashmap creates new map every time a user logs in......how to put all the users in a single hashmap...? thanks beanboy | |
My query has two parts: 1. Can I pass an audio file from one jsp to another using form submit. 2. If yes, then how do I write this file to another file in the next jsp page. I was going through the AudioInputstream class but couldnt make much head-through. … | |
Hi, I have written a jsp page which extract large data (1.5MB) from database and downloaded to a csv file. The browser promtpts a file save dialog box and user can save it in csv file in local drive. The program works fine only problem is, in csv file there … | |
I've been giving myself a crash course in Java using some lectures from Stanford, and I started working on my practice midterm yesterday. So I'm reading my way through Sun's Java tutorial, and they don't define what the operator *= is, and that's the third question on my practice midterm. … | |
hi i am a new one to this community i have a problem in my code ,in that when i try to implement keylistener it works only for text not for image while using drawImage the image painted but not moved and when iam trying it with draw string keyListener … | |
Okay First off i cant figure out where my code is wrong i have stored the ID of the records i want to delete to an array called todelete[] these values are taken from checkbox called delete (stored the ID of the record to the value parameter of the checkbox) … | |
Actually , i must admit , i did not knew about connecting with database but i am trying to learn , i want to insert data into jtable from Ms acess database , i have made a table called song_library there and also created the dsn as testy1...Also in the … | |
Hi everybody sorry if the title is misleading what am meant to say does anyone know of such a book or anything where I or we (depending anyone coming back to this thread) lol Know were we can see step by step on how to build application on java you … ![]() | |
i am done with almost all the functions of a simple mp3 player , i am trying to make , i 'm stuck with pause function, i dont know , i was thinking of creating a separate thread for it... [code] private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) { song_name=(String) jTable2.getValueAt(jTable2.getSelectedRow(), 0); if(count>0) … | |
Dear Members, I developed following class to creat a virtual key boad. While user will click it should type that number to login field. The class is compiled with jdk1.6.0_14. successfully But while button is clicked its not typing that number to login filed. Kindly help to resolve this problem … | |
hello i am trying the following code [CODE]<%@ page import="java.util.*" %> <HTML> <BODY> <%! Date theDate = new Date(); Date getDate() { System.out.println( "In getDate() method" ); return theDate; } %> Hello! The time is now <%= getDate() %> </BODY> </HTML>[/CODE] its so simple, taken from a tutorial. the question … | |
may i ask again!different question but still use netbean! i want active a tombol in a condition, i have 5 question in panel a if the 5 question is true tombol in panel b is active!how the idea,i tried use method getParent but is not succes!thanks all and how change … | |
Guys, kindly help me. How can user enter a character? or How can I use the Enumerated Type for this? Thanks:) [CODE] import java.util.Scanner; public class RockPaperScissors { public static void main(String[] args) { Scanner input= new Scanner(System.in); char x,y; System.out.print("Player 1:"); x=input.nextLine(); System.out.print("Player 2:"); y=input.nextLine(); switch(x) { case 'P': … | |
The code below runs successfully but once run and the user enters a message into the text field named input and clicks the button named send, I receive a null pointer expression. Within the inner action listener it calls the method sendMessage() which gets the text and assigns it to … | |
i have a requirement of adding rows which consist of textboxes and select box. the values stored should be set in the form. I am using Struts jsp. i tried using indexed properties on forms along with logic iterate tag.... | |
Hello, i want to print on my website how many people are viewing it. I thought doing it with cookies: 1. Give the guest a [I]guest [/I]cookie. Increase a static variable "guest". 2. If he registers, give him a [I]user[/I] cookie. Decrease "guest" by 1 , Increase "user" by 1. … | |
[CODE]<html> <head> <script type="text/javascript"> function formValidator(theForm) { if (theForm.location.value == "") { alert("Please choose a location"); theForm.location.focus(); return (false); } if ( ( theForm.browser[0].checked == false ) && ( theForm.browser[1].checked == false ) && ( theForm.browser[2].checked == false ) && ( theForm.browser[3].checked == false )) { alert("please choose a subscription … | |
I am thinking of building a media player that could read all the audio ,video file types as my final year project using java in the linux environment( fedora core 4). But i don't know from where should i start, pls is there anyone who can help. I will be … | |
Hi, I am getting parsing error in xpath transformation String s = "if (/blah/text()!='') then blah/text() else ''"; XPathExpression expression = xpath.compile(s); Object o = expression.evaluate(target, XPathConstants.NODESET); I am using normal core java and xml packages to parse import javax.xml.parsers. DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpression; import … | |
[CODE]<%@ page import="java.util.*" %> <%@ page import="java.sql.*" %> <%@ page import="java.text.*" %> <% Statement stmt =null; Connection conn =null; ResultSet rs = null; try { String url = "jdbc:oracle:thin:@ahmad:1521:PLSExtProc"; String user = "training"; String password = "training"; Class.forName("oracle.jdbc.driver.OracleDriver"); System.out.println("--------------"); //Get a connection to the database conn = DriverManager.getConnection(url, user, password); … | |
hello every one, i m trying to insert data from jsp page to database using sql insert query. every thing is working fine but when i m using autonumber in database(Ms Access) it is showing error. so please help me how to do it??/ | |
I am running this code It is giving an error which is out of my understanding CODE: [code=jsp]<html> <head> <title>Login Page</title> </head> <body bgcolor="#C0C0C0"> <form method="GET" action="http:\\localhost:8000\login_page.jsp"> <marquee style="font-family:Arial;font-size:14pt;color:#800000;fontstyle: italic;font-weight:bold">eResource System ----->The World of Learning</marquee> <table border="1"width="100%"> <tr> <td width="18%"> <p><font face="Arial"size="2"color="#800000"><b><a HREF="home_page.htm">Home</a></b></font></p> <p><b><font face="Arial"size="2"color="#800000"><a HREF="chart_toppers.jsp">Chart Toppers</a></font></b></p> <p><b><font face="Arial"size="2"color="#800000"><a HREF="search_home_page.htm">Search</a></font></b></p> … | |
Dear friends, i am Jai.. i have developed a web based product where i have implemented Localisation concept..when the user selects the languages in a webpage.d webpage will convert itself into that particular language.i use to place the language related this in *.properties file and access that using Locale concept. … | |
hello , i am new to web applications.in my final year project,earlier i was making call to database to get the data.Now i have to replace that database call with a webservice call. i used axis2 to create a client stub and than wrote the java client to consume the … | |
hello everyone, i m new to dotpropertyfile.please help me in this. How to use dotPropertyfile in java. thanks in advance. | |
While I am familiar java but i am basically new to creating a GUI using java. I need to make it so when a user clicks on a button another window pops up displaying various statistics about that product. The thing is the amount of information I need to display … | |
Hello! Today I started a SourceForge project for the game that I'm making, and I wanted to get input on the Map Builder/Editor. I DID include a readme file that has directions, contact info, and future features. [URL="https://sourceforge.net/projects/jiso/files/Map%20Editor/"]JISO Map Builder[/URL] Please give me feedback, this is a project that I … | |
i have subject advanced java programming in my syllabus i will be learning socket programming servelets, corba,AMI,java beans etc. I have heard about apachetomcat server.How do i get the required software from net.thanks |
The End.