36,051 Topics
![]() | |
Hi Experts, I have written a Servlet file which sends email to a user .When if i run that servlet file in command Prompts it sends a email .Now i want that servlet file to be automatically executed inside my Tomcat server within a stipulated Time . Sothat it can … | |
can anyone give me a detailed importance of sun certificate for java programmer??? What about the job oppurtunities for the person certified?? | |
Hi there, I'm making a webpage with some news that I can update thru another aplication that puts the new news in my "mysql" database. :-| No problem tile now, but i'd like my page to auto refresh the include that I have with de news in PHP. :eek: So … | |
ok, i don't know anything of java and somehow managed to DL NetBeans the sun program that creates Java apps... apprently.. (wasn't what i intended to DL but hey :mrgreen: ) A friend wants a card game made, so i searched these forums and found [URL]http://www.daniweb.com/techtalkforums/showthread.php?t=68640&highlight=card+game[/URL] i took the coding … | |
On Page One of my application, I have a dropdown list that populated by a SQL query. The list displays the "Text" of the items on the list, but the values (that will be passed are the indexes from the database table) . The user can select multiple items from … | |
[COLOR=#941edf] [/COLOR][COLOR=#941edf]Hello, im new. And I'm kinda stumped. We were given an exercise to do in which the user enters a number in roman numerals and the program converts it to decimal numbers. I have no problem convert if the number given is in the right order from the largest … | |
Hi there Guys i've learned J2SE (standard) version of java nad i enjoy it a lot and i lately wanna to learn Mobile Programming (J2ME) , is this King of programming alike to J2SE , help me if you can , i'll scratch Yours later:p | |
i have to make a software on leave management system, using jsp and oracle. i have done the requirement spec. i know core java, but have never worked with jsp or tomcat..i have the jcreator editor. tell me how to run jsp file. and how to install tomcat. thr r … | |
I need this program for my work. Recently started having problems with the new JRE How can this be fixed? I googled it and see java does not offer answers I use win 2000 IE6 RoadRunner BB and firewall from them CA-EZ Firewall Java(TM) Plug-in: Version 1.4.2_13 Using JRE version … | |
I'm writing a Java ME app that will access servlets on a tomcat server, (version 5.5) and I'm having a problem. In my client I'm trying to use a HTTP connection to the servlet, like so: [code] if (command == select && currentForm == login) { HttpConnection connection = null; … | |
hai.. I have a database with a primary key(Employee id). I am having an insert form, display form, delete form and main page form. I want to validate the Employee id entered by the user in the insert form that means I want to check with the database, If it … | |
I have been asked to write a method that prints out the following pattern: XXXXXXX XXXXXX XXXXX XXXX XXX XX X instead of left-justified, i'm supposed to write a "right-justified" pattern. I am not quite sure how i can write codes to insert the " " to get the above … | |
i don't know how to add buttons to the code , it already has two buttons on it but i don't know how to add more...i just editted this one i've tried adding one more but it just won't work..it still does two things.. here's the code if you can … | |
I'm currently creating a program with some buttons and other stuff and I was wondering how do I create a background image with jframe? I don't see any set method for it. Is the there a way to do it? | |
I'm working on a program that opens an html text file using a JEditorPane. I can read in the html file but i can't get the hyperlinks to work. I want it so that when the user clicks on a hyperlink word, it will open a different html file in … | |
I am simply inserting a row and it does nt even throw exception but the database is nt getting updated please find out what is wrong with this code import java.sql.*; public class Check { public static void main(String args[]) { try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String dataSourceName = "glad1"; String dbURL = … | |
{6,12,4,7,9} How do i write a method name serachMax that receives the list above (as an array of integer) as it's argument and return the largest value in the list and How do i create a method name countitem that receives that list above (as a referenced based linked list … | |
just like a no-purpose hunter, I wandering in Java's world;so honestly speaking,I am just a beginner. now I have a puzzle: in a Java program ,there are so many class files that I have no idea how to deal with them. give some advices,thank you! | |
hello Can anyone please help me I need the code of an analog clock cause i don't know how to make one. I only have the digital clock and I thought it would be better if I used an analog and I can't find a good one. Cause the thing … ![]() | |
Hi Java People, I have one servlet , few JAVASCRIPTS, one JSP page. First when I login some processing is done at back in servlet and some variables are set. after login i enter into main JSP page which contains some BUTTONS. On click of every button I have some … | |
I'm getting into Java programming, and find myself at a loss for a good Java IDE for Linux. I'm running Mandrake 9.1 (I tried Gentoo, but I'm to much of a n00b to linux) Can you guys suggest any? Note to Dani: I know about Borland's JBuilder, but I want … | |
good day!.. i have this soap message that will be sent to a simple service provider simulator.. since this is only a simulation, i there will be only one service named leave (e.g. vacation leave, sick leave, etc.) [code] <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://leaveprocessor.blueprints.jbi.sun.com/"> <soapenv:Body> <ns1:processApplication> <appName>applicant</appName> <leaveType>type … | |
need help with command line arguments and creating a package in java. i need to hand this in soon and obviously i cant do it can someone help me. | |
Guys please i need help about creating a sequential file using java, im kinda new in this world of java...please!! something like this: int main() { ofstream outclientfile("client.dat", ios::out); if(!outClientFile) { cerr<<"statement"<<endl; exit(1); } cout<<"Enter the account, name and balance."<<endl <<"Enter end-of-file" to end input."; int account; char name[25]; double … | |
Hi, I want to know any idea about detecting Socket Block (socket overflowed with lots of data, thus not able to receive any new) & thus automatically flushing it, & get fresh data, without ending client-server connection. Thanks in advance. | |
i hav calculated a value(years).Now i want 2 merge it with an attribute of table(ml_y2 wher 2 is year).So i want 2 merge ml_y and 2.then i want 2 find the value of ml_y2 frm a table....plzzzzzzzz help me .can i do somthing like this in MY SQL??? | |
Hi I am using websphere app server. But I want to use hot deployment feature in my application so that I don't require to restart my server when I make changes in my code. Is anyone knows if I will use RAD tool is it possible to support hot deployment … | |
i have some dobut i will be oblise if u will help me my doubt is that can we make one class into another class n if it is posible than happend in folling case. 1 if i have nested calss then can i call method of iner most calss … | |
Hello, Please help me! I have stored values ( many types of variables) in an arraylist. They are values of linguistic pattern, trigger word, relevant count, irrelevant count and total count , relevant rate, rank. Their length is different from one to another. For example, linguistic pattern may be such … | |
How do I call JAR which is in same folder as my java file? BUT I don't want to place this JAR file into JRE>lib>ext and also I don't want to create CLASSPATH for it. | |
Hi all :) hehe sorry .. lol 1st of all iam new here :) ... and i really liked this site its very informative :) .. and iam sure i will enjoy being a member here.. before when we do a site we choose the database access but this time … | |
hi i have window server 2003 operating system in my E: drive and i have intalled jdk1.3 and bdk1.1 in my G: drive but i am not able to run a file which is for javabeans run.bat plz help me to run javabean | |
ive designed a GUI for a vending machine, but i have know idea on how to do one thing i need help calculating the users change the user types in e.g. 100 for coffee the cost of coffee is 60 and then the change appears in a new window i … | |
This is my code, I'm thinking to update the instance variable m, so that I can update my array1[m].. does anyone have suggestion? please help thank you [code=java] private int m; private int n; private int array1[] = new int[m]; private int array2[][] = new int[m][n]; public int Init() { … | |
I'm trying to display text on GlassPane in front of image which I read in. There is no problem with image which does display but my text doesn't appear. What is wrong???? [code] import java.io.File; import java.io.IOException; import java.awt.*; import java.awt.image.RenderedImage; import javax.swing.*; import javax.media.jai.widget.ScrollingImagePanel; import javax.media.jai.NullOpImage; import javax.media.jai.OpImage; import … | |
i have installed jre1.5.0_11 but i am not able to compile a program error is javac is not recognized as an internal or external commond Plz help me alsotell me how could i access JAVABean | |
Hi I'm trying to write a multi-formed J2ME app. I keep getting a null pointer exception in the startApp() method. [code] public void startApp() { display.setCurrent(currentForm); } [/code] I have currentForm created above and the first is mapped to it, (with the plan of mapping each new from to currentForm. … | |
Hi, I'm working on this for this last weekend and have been thinking for hours to figure out how the hell can I print the duplication in arrays that's been initialized with random numbers... :( does anyone have suggestion or ideas on how to do this? I'm just having problem … | |
Hey there, My problem is probably simple, but I just can't seem to find a solution to it. I'm currently working on some sort of small RPG. Everything's running smoothly, but since I implemented the possibility to move your character, drawn Images tend to disappear randomly or not appear at … ![]() | |
Any one here can tell me how to pop up an html file from your GUI... any classes to be used :cheesy: | |
Hai friends iam doing project in swing ,in my project i want to send email while running my project.. i added the following code for email: [B]String host = "mail.gitech.in"; String from = "[/B][EMAIL="from@mail.com"][B]from@mail.com[/B][/EMAIL][B]" String to = "[/B][EMAIL="tomail@gitech.in"][B]tomail@gitech.in[/B][/EMAIL][B]"; // Get system properties try { Properties props = System.getProperties();[/B] [B] // … | |
I want to make new deployment descriptor for JBoss app server as I am migrating my application from websphere to JBoss IN websphere we have ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi code for both of them are [B]ibm-ejb-jar-bnd.xmi[/B] <?xml version="1.0" encoding="UTF-8"?> <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="[URL]http://www.omg.org/XMI[/URL]" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1101636685106"> <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/> <ejbBindings xmi:id="EnterpriseBeanBinding_1101636685106" jndiName="com.sa.Account"> <enterpriseBean … | |
Hi, i have a jtextpane and a JComponet that displays line numbers. Does anyone know how i can get the startline and end line of the text that is currently in view on the JTextPane? Thanks. | |
A project I'm working on has this awful problem wherein the JFrame refuses to resize in Linux. I've tried the [inlinecode]setResizable(true)[/inlinecode] method, both in the constructor and outside of it, but no go. It works fine on Windows. And I'm using Java 1.6 if that makes any difference. Am I … | |
This is my code, I could get the program to run before i tried to get it to display using a GUI interface; can anyone help please? //Inventory Program Part5 import java.util.*; //=============================import all java.util classes import java.text.*; import javax.swing.*; class Product //============================================start Product class { public String[] className; //=====================================class's … | |
i wish to use this java code in c++. [code] String bname[] = { "Unix Environment", "Programming in Perl", "Comp. Architechture", "Operating System", "Java Programming", "DIstributed OS","Database Management", "J2ME","Operating Systems", "Algorithms in C++"}; [/code] how do I initialize char array in c++ ?:-| | |
vBar is the vertical scrollbar. Not matter what the current value of the scrollbar is it'll always set the maximum value, which makes absolutely no sense to me. I'm trying to get it so it only scrolls when the scrollbar is already at the end, or its maximum. (so users … | |
Hi there everyone.. Well iam a newbie too and was just figuring out how to write this code snipet. I want the user to enter 2 strings, the 1st one called the key and the second a message. What actually happens is that the key is converted into unicode and … ![]() | |
[CODE][/CODE]How to upload the word document to msaccess database. i have created the datatype as OLEObject in msaccess i am using jsp.from jsp page i have to insert the word document to the database Please guide me. Thanks | |
Hai friends.. iam doing project in j2me.. i want to get the current time in mobile in hours minutes and seconds format.. and i want to display it in mobile ,is there any way to get the time? pl help |
The End.