35,617 Topics
![]() | |
I want to do a project on J2me where from my mobile I can lock the car , switch off my light and can be able to different household works .Can anybody provide me some tutorials or suggestion so thath I can proceed for my project ?? plz provide some … | |
I have a .jar file located in my program files that is from a third party and is require when running the bean on the web server. When running the app in a non jsp environment, I use the [code]java –cp {jar file name and location} [class name][/code] How do … | |
hello every one! i have a web site i have developed with php and jsp and am having problems trying to send messages to my contacts using javascripts. could anyone pls guide me? | |
| |
Hi guys I have a tricky XML/Java situation that I need some tips on I have an XML file <country> <country-name code=”USA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> <country-name code=”FRA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> </country > Firstly I need to count how many cities per country. I know I have to get … | |
So my user has successfully logged into their page...I have a "home" button link that I want to simply go back to this same page....when they press it...it takes them to the login screen....any suggestions?? here's my code snippet [code=java] <li class="first"><a href="cp-newmenu.jsp" target="_new" class="on">Home</a></li> [/code] thanx in advance | |
hi frds, i need code for pagenation using jsp servlet ....plz urgent........ | |
Firstly i would like to say Hello to everyOne.Am a Computer Science Student and Am new in Java Programming.My first program is to write a program that will read a file and display the sum of all values. ....wanted to use BufferedReader to read the file and store the values … | |
Im getting invalid coulmn index...any suggestions?...thanx in advance [code=java] public static int[] getListSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] listSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != null) { if (userData.isAgentType()) { … | |
hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset … | |
Hi doing a project which consists of moving between individual frames and in general interrogating a database from these frames. My first frame is a Logon frame. In this Logon Frame/class i have also instantiated another class called Member where I've saved the username from the logon process. Can I, … | |
hai , all This coding about filter data using jTextFiled and display in jtable, so help me to combine these class be one class. thanks [CODE] //DBAccess.java import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.EventList; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBAccess { private static Connection c; private … | |
Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != … | |
im a 1st yr IT student, we have a final project this end of class. . . all we have to do is make a program using java. Honestly, java is very hard for me so if i can have a favor please help me to understand it more. . … | |
now as an example of validation i have this code [INLINECODE] <%@ page contentType="text/html" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <html> <head> <title>User Info Entry Form</title> </head> <body bgcolor="white"> <form action="validate_jstl.jsp" method="post"> <input type="hidden" name="submitted" value="true"> <table> <c:if test="${empty param.userName}"> <tr> <td></td> <td colspan="2"><font color="red"> Please enter your Name </font></td> … | |
Hi Is it possible to play music in java from back to front? | |
I cannot explain this problem, and in searching all over I've seen a few leads but no help. I do not understand at all why I get this exception. It claims I am trying to cast a JList as a DefaultListModel when I'me trying to cast a ListModel and a … | |
hi, I was looking to solve this problem long time ago.My problem is: I have a link on jsp page (witch belong to a website ) when I click the link it suppose to give me the open/save/cancel dialog box to choose to open or save the specified file but … | |
Hi, I want to save a .txt file into database using java language, how can it is possible ? The .txt file has one word per line and I would like when the program find a string like "<P>" to continue until line with "</P>". If it is found to … | |
Hi there, What I am doing is filling a 2-D array with numbers in a random order. i.e. I pick a position in the 2-D array and input a number there eg: array[2][1] = 3;(this input is received from a text file) In this way, I fill the array but … | |
I want to learn [B] CORE JAVA [/B]... So, can any one advise me how to start... | |
any suggestions?...im thinking somewhere between lines 163-185, but I'm stumped <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> … | |
Hi, Pls tell me the output for the following code............ public class Test { public static void main(String args[]){ int i=0; for(int j=0;j<=10;j++) { i=i++; } System.out.println("value of i\t"+i); } | |
Hello EveryOne, Im Thiyagu Junior Java developer, can any one help me for design pattern or idea to develop HTTP monitor in Java. The objectives of HTTP monitor is - to log/view all URLs that is requested or visited by the system user via webrowser. - it can be a … | |
this is my first post...not sure whats the problem...any suggestions would be appreciated...thanx [code=language] <% int unViewedCt= 0; out.write("var jsLeads = new Array); (for (int i=0; i< leads.size(); i++) { currLead = (HashMap)leads.get(i); out.write("jsLeads["+ i +"] = new Array();\n"); out.write("jsLeads[" + i + "][0] = '" + currLead.get("PK_LEADID") + "';\n"); … | |
Hello everyone, I am using JDBC to compare the content of two database tables -- writing a general function and two tables are input. The two tables have various types of columns, like VARCHAR, BLOB, INT, FLOAT, etc. I want to save my time to write various statements to get … | |
Please tell me the method of installing jconnector for my sql server | |
Hello everyone, I want to run JSF1.2 in netbeans 5.5 with Tomcat server 6.0.13 how config tomcat and netbeans THanks | |
Hi guys probably quite a common question but I've imported both java.sql.* and java.util.* and want to create an sql Date variable. What's the syntax to declare the variable from the sql class. I'm getting an error message that there is contention between the .util and .sql class. Thanks |
The End.