35,618 Topics

Member Avatar for
Member Avatar for arkaprava

I have done a stand alone project on Java Swing and MySql where the frontend is designed by Swing and backend is designed on MySQL I wanna build an exe of the project by incorporating the MySql schema and tablespace into the archieved file(exe/jar) Plz tell me whether is it …

Member Avatar for arkaprava
0
303
Member Avatar for CurtisBridges

I seem to really be lost. I have included the instructions for this problem, for you clarity only. I'm not asking you to do the work.I really want to learn java. I have read this complete chapter Three times now and seem to not be getting through my thick skull …

Member Avatar for jwenting
0
1K
Member Avatar for mimsc

trying to see if the last character is a '>'......any suggestions I already know how to check for the character heres what I got if (userData.getName().charAt(0)!='<' ) { thank

Member Avatar for mimsc
0
118
Member Avatar for kahilw

I am trying to insert a jtable into another jtable is that possible. Please help

Member Avatar for Phaelax
0
154
Member Avatar for ub_old

How can i send all requested parameter to included jsp. [CODE] <jsp:include page="/page"> ??????????? </jsp:include> [/CODE]

Member Avatar for jwenting
0
92
Member Avatar for mimsc

Wsup..basically I have a html file saved in another folder in Eclipse..I want to call a jsp and once I call it...I want the html code to show up...here's what I have "cp-termsofUse.jsp" [code= java] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> …

Member Avatar for mimsc
0
142
Member Avatar for jnora

Hello, Please, i need to know the JDBC code (applying servlet) to use with mySql to generate account balances from my customer_table having three columns(i.e. DEBIT, CREDIT,BALANCE) in the following format: CR-------------------------DR----------------------BALANCE 30................................5..................................25 2..................................3..................................24 I can only use 'select sum....' code to get the sums of both DR and CR …

Member Avatar for jwenting
0
85
Member Avatar for slacke

I am searching for a long time in my laptop (WinXp) from where starts the services like mysqld.exe and java.exe. They start at boot time and make 860 MB use of virtual memory. They seems to be connected (mysqld and java) because when I stop the mysqld only, my Virtul …

Member Avatar for slacke
0
80
Member Avatar for blaykm

Hi I have a web Application which uses servlets. As soon as any user Logs i create a folder for the user and the files uploaded by the user are stored in that folder. Now when the users Logs out of the Application I am supposed to delete the folder …

0
61
Member Avatar for satish.paluvai
Member Avatar for jwenting
0
84
Member Avatar for kaushik259106

How do i create a session time out? i have tried with <session-config> <session-timeout>1</session-timeout> </session-config> in web.xml file but nothing seems to happen after 5 min.. if i do refresh it still works

0
78
Member Avatar for kaushik259106

I have configured my tomcat to work on port 80 so when i press [url]http://localhost/[/url] i gets the default page of tomcat. I have a web apps under webapps folder and it has the starting page as login.jsp. How do i configure so that i get the login.jsp when i …

Member Avatar for kaushik259106
0
62
Member Avatar for engheba

hello for downloading a file ,can anyone tell me how to download a file using portlet jsr 168 coz i've searched and found nothing i could do and i am newbie in portals and java script.Thx

0
50
Member Avatar for Mr.UNOwen

Hello, Can someone point out where the javadoc for AudioPlayer.player is? This is the code I currently have... [CODE] import sun.audio.*; import java.io.*; ... ... ... InputStream input = new FileInputStream("Stop.wav"); AudioStream sound = new AudioStream(input); AudioPlayer.player.start(sound); [/CODE] If there is no loop method for this, what's the easiest way …

Member Avatar for Mr.UNOwen
0
146
Member Avatar for pmhayden

Hi I'm in the process of getting JConnector in MySQL to connect to JBuilder 3. I've noticed in the MySQL manual that to accomplish this successfully I need to switch off the class verifier (-Xverify:none) as JBuilder 3 is too old to support some features on the JConnector. (1) How …

Member Avatar for jwenting
0
103
Member Avatar for sania12

hi all, I know bits and pieces of JSP. I have done many projects in PHP. I have got to do an assignment of developing on screen virtual keyboard with in 1 week. Am having no idea of how to start with it. Please help me with a basic outline/ …

Member Avatar for jwenting
0
57
Member Avatar for apontutul

I want to make: when i click a button after I've given some input it checks & if successful it opens a new window/page i.e I want to create a link....till now I've done [CODE] import javax.swing.JOptionPane; public class inputwindow { /** * @param args */ public static void main(String[] …

Member Avatar for Ezzaral
0
243
Member Avatar for libran

Hi, Kindly help me starting with the Java program. Find the specification of the code in the .doc file attched. Regds, [COLOR=#000000] [/COLOR] [B][I][COLOR=#000000] [/COLOR][/I][/B][COLOR=#000000]. [/COLOR]

Member Avatar for jwenting
0
117
Member Avatar for abar_sow

how to change the contents in text file to ppt file with bullets ... My code for wat i tried to shift the contents to ppt from java is: import java.io.*; import java.util.*; class Filereader { public static void main(String args[])throws Exception{ FileReader fr = new FileReader("E:\backup_javaprog\file.java"); BufferedReader br=new BufferedReader(fr); …

Member Avatar for Ezzaral
0
79
Member Avatar for Mr.UNOwen

Hello, I'm creating a game and in this game if you press two particular buttons at once, a particular move is done. How do I go about doing this with KeyListener? Is there a way to get it to wait for a fraction of a second to see if there's …

Member Avatar for Ezzaral
0
3K
Member Avatar for NewToJava

hi, i just wrote my first java program, it compiles and runs and all, but the console window closes too quickly u can hardly see the output. how can i rectify that?

Member Avatar for Fungus1487
0
145
Member Avatar for venomlash

For those of you who also code in JAVA*: Does anyone know of anything in C++ that is at all like paintComponent or the Graphics class? HALP! *ROFLwaffles to those who do

Member Avatar for venomlash
0
191
Member Avatar for michael.ngobeni

I have a problem with my Hashtable output Hashtable HashTest = new Hashtable(); HashTest.put("B_1", "A"); HashTest.put("B_3", "B"); HashTest.put("B_5", "C"); HashTest.put("B_7", "D"); HashTest.put("B_9", "E"); HashTest.put("B_11", "F"); HashTest.put("J_1", "G"); HashTest.put("J_3", "H"); HashTest.put("J_5", "I"); HashTest.put("J_7", "J"); HashTest.put("J_9", "K"); Enumeration enum1, enum2; enum1 = HashTest.keys (); enum2 = HashTest.elements (); String CityCode, CityName; while …

Member Avatar for ~s.o.s~
0
101
Member Avatar for mimsc

this function call [code=java] <span>• <%=userData.getPhone()%></span> [/code] returns a phone # for ex. 8005551155 Need a suggestion on setting it up as 800-555-1155 when i do the call

Member Avatar for ~s.o.s~
0
110
Member Avatar for zuha

i'm doing my final year project this semester.. i'm having problem for getting javax.media package... can anyone help me?

Member Avatar for jwenting
1
74
Member Avatar for legilimen
Member Avatar for jwenting
0
51
Member Avatar for mattyd

Hello. I am new to Java and I am easing into this new language via some basic tutorials. I am using the Borland 2005 IDE; it is powerful and I quite like it save for that it seems [I]incredibly[/I] bulky, hogs [I]all[/I] resources, freezes, tries to shut itself down, etc, …

Member Avatar for jwenting
0
576
Member Avatar for staneja

I am attaching a war file that prints hello using servlet This is code for web.xm [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<?xml version="1.0" ?>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR][B]servlet1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR][B]/hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]but …

Member Avatar for ~s.o.s~
0
176
Member Avatar for gwong

Hi, I was wondering if it's possible to use the sprintf or any kind of print statements that formats your output into a particular format. The value that is passed to me is "45.0", and I would like the output to be displayed as "45.00". Thanks for any replies!

Member Avatar for gwong
0
165
Member Avatar for taran30

[code]i have to make a project in java at the beginners level.....so anybody who has ideas on the same...cud u plz help me...i have only 2 months to complete the project...[/code]

Member Avatar for iamthwee
0
80

The End.