35,617 Topics

Member Avatar for
Member Avatar for arkaprava

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 …

Member Avatar for arkaprava
0
93
Member Avatar for haroldjclements

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 …

Member Avatar for jwenting
0
68
Member Avatar for naahamm

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?

Member Avatar for Ezzaral
0
57
Member Avatar for karan sharma
Member Avatar for Ezzaral
0
110
Member Avatar for michael.ngobeni

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 …

Member Avatar for orko
0
212
Member Avatar for mimsc

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

0
75
Member Avatar for karan sharma
Member Avatar for tsrkapil

hi frds, i need code for pagenation using jsp servlet ....plz urgent........

0
51
Member Avatar for shaqnolysis

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 …

Member Avatar for masijade
0
92
Member Avatar for mimsc

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()) { …

Member Avatar for mimsc
-1
298
Member Avatar for apontutul

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 …

Member Avatar for apontutul
0
6K
Member Avatar for pmhayden

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, …

Member Avatar for orko
0
278
Member Avatar for onsir

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 …

Member Avatar for orko
0
973
Member Avatar for mimsc

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 != …

Member Avatar for mimsc
0
150
Member Avatar for zhapool

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. . …

Member Avatar for toxicboy
0
211
Member Avatar for islam nigm

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> …

0
79
Member Avatar for tygerberg
Member Avatar for orko
0
96
Member Avatar for yoyodelta

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 …

Member Avatar for yoyodelta
0
1K
Member Avatar for devsa

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 …

Member Avatar for devsa
0
143
Member Avatar for katerinaaa

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 …

Member Avatar for katerinaaa
0
265
Member Avatar for baltazar

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 …

Member Avatar for anamika_nagpur
0
111
Member Avatar for Anupkumar
Member Avatar for Anupkumar
0
161
Member Avatar for mimsc

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" %> …

Member Avatar for masijade
0
64
Member Avatar for pointers

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); }

Member Avatar for jwenting
0
91
Member Avatar for thiyagu_mca2006

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 …

Member Avatar for jwenting
0
132
Member Avatar for mimsc

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"); …

Member Avatar for ksaxena
0
109
Member Avatar for George2

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 …

Member Avatar for George2
0
2K
Member Avatar for arkaprava
Member Avatar for mojtabamaster

Hello everyone, I want to run JSF1.2 in netbeans 5.5 with Tomcat server 6.0.13 how config tomcat and netbeans THanks

Member Avatar for jwenting
0
56
Member Avatar for pmhayden

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

Member Avatar for pmhayden
0
164

The End.