35,618 Topics

Member Avatar for
Member Avatar for cbarton.a

All, I have developed an application using RMI and am in need of help for the deployment of sed program as I have tried numerous different ways to release. Along those lines, I also am not too clear on the codebase and how to release to a [url]http://[I]hostname[/url][/I]:[I]port[/I]/[I]program_name[/I]. Here are …

0
84
Member Avatar for java..

i know the difference between interface and abstract. how it will differ in real-time application scenario. can you please explain with example?

Member Avatar for jon.kiparsky
0
217
Member Avatar for nocookies92

I'm trying to create a class that holds a 2D string array to be used by another class. For some reason, my IDE gives me a bunch of errors when I try to compile. Here's my code: [CODE]public class Lists { String[][] ListArrays = {"Why, Hello there!","Welcome.","blah blah blah","more useless …

Member Avatar for nocookies92
0
130
Member Avatar for rogue005

Is there a way to match images and determine which two match? The images are not exactly the same but are similar!

Member Avatar for NormR1
0
74
Member Avatar for java..

how OOPS concept playing roles in terms of compile time and run time polymorphism. how inheritance and encapsulation and polymorphism applied in real time application. when and where and how to decide this oop concept fit for this like java bean,interface,abstract,etc?

Member Avatar for java_programmer
0
199
Member Avatar for ben05

hi all, i've a major doubt.. i've a jsp page with combo box which is dynamically loaded with values from database.. how to include this page with anohter jsp page provided the dynamically loaded values must remain the same.....[code]hi all, i've a major doubt.. i've a jsp page with combo …

Member Avatar for parry_kulk
0
107
Member Avatar for priyanca

hey i m persuing b tech and i am a final year student. i need to know about some project titles coded in java and abstract about them in order to make it my final year project .plz give some direction.

Member Avatar for tong1
-1
342
Member Avatar for ceyezumma

//////////////////////////////////////////////// moving a .jar to sys dir ////////////////////////////////////////// Hello; I can make a .jar from my program and move it to a folder in my progject The Command to make the -cmf (non runnable) .jar works fine by adding the .jar to a folder in my project. but my question …

Member Avatar for NormR1
0
106
Member Avatar for Turtle85

hey guys, I would like to know the syntax in Java for truncating variables of type Double. The code below is in Pascal and i would like to know how to write it in Java: x := trunc(y +7/h);

0
91
Member Avatar for Turtle85

I need help converting this Pascal code into Java. My Pascal Programming abilities are limited so any help would be much appreciated. [ uses wincrt; const n=300; {1320 this is the max length possible} m=2; type table = array [1..n,1..m] of real; var data,data2 : table; i,j,card : integer; t0,X0,Y0,Xn,h,g1,g2,r1,r2,d,slope:real; …

0
88
Member Avatar for chumky
Member Avatar for Ndoom

Hi all, Welcome to Study Group 13 (SG13) ^_^ We are a group of people – mostly students – who are self-learners. We share the study materials (obviously online materials), help each other in debugging our codes, and give advice regarding programming or studying problems. Q&A: Q: What programming languages …

Member Avatar for popin
0
453
Member Avatar for Dom Chester

Hi all, First I would like to say how much I like the forum. I have recently started to program using Java and I have done a online tutorials from [URL="http://www.javavideotutes.com/home"]http://www.javavideotutes.com/home[/URL] and I now have a few questions: 1) What is a good book for me to get? 2) I …

Member Avatar for tizon
0
97
Member Avatar for mayank.dyl

I m a bit confused, that which book should i choose to prepare for SCJP 6 i.e Kathy Sierra or Khalid Azim Mughal and also needs some tips and links for complete prepartions. ...thnx a lot.

Member Avatar for java_programmer
0
100
Member Avatar for KcNaveen
Member Avatar for musthafa.aj

afaik, i know the overall concept about this. but i need to know any in depth difference between them. and how one is better than others? when and where it will be used ?

Member Avatar for java_programmer
0
206
Member Avatar for gunjannigam

Is it possible to access a TCP server running outside our LAN through internet? I thought we could use the router IP Addess(which I got from whatismyip.com) in the class Socket Constructor[CODE] Socket(InetAddress address, int port) [/CODE]. But client wasn't able to find the server. Has anybody successfully achieved this …

Member Avatar for musthafa.aj
0
653
Member Avatar for Cort3z

I'm developing a web-program that needs to check a whole bounch of potentially faulty http-links. Now, I have found a way of doing this, the only problem is that it relies on try-catch, not in it self horribly bad, but the time it takes to check the links is extremely …

Member Avatar for Cort3z
0
111
Member Avatar for mahdi68

Hi i want to write an app that send text from one device to an other , how can i test it with emulator on pc ? is it possible with wtk ? thanks

Member Avatar for mahdi68
0
357
Member Avatar for nikk

Hey, all Java & JSP gurus, i'm developing a website using JSP and MS SQL. Can you please tell me the code to invalidate a session object i.e. the code for logout (to be written in JSP) Following is my code for creating session object, on login: [code=java]HttpSession ses=request.getSession(true); ses.setAttribute("Name",name);[/code] …

Member Avatar for selvanandhini
0
2K
Member Avatar for Xufyan

How to print Specific enum value from a loop?? I created a Two D array and accessing Enum values through it... I wanted to assign the 3rd enum value whose ordinal is '2' to the following rows and coloumn...[1][0] and [2][4] i tried this, DnP[1][0] = DnP [2][4] = Periods.Period1; …

Member Avatar for yasuodancez
0
1K
Member Avatar for hazeeel

Hey there! How do i read 2 files, one after another and then storing it into 2 seperate array? This is the code for reading 1 file. So, how do I read 2 files? The array would be a 3x3 2D array. [CODE]File dir = new File("1A6G.pdb"); //set file String …

Member Avatar for hazeeel
0
311
Member Avatar for mohammed2raja

Dear friends, I am facing problem to integrate facebook in my JSP application. I found a lot of help in PHP but I need in JSP. Please help me and give me some ideas.

Member Avatar for mohammed2raja
0
107
Member Avatar for musthafa.aj

afaik, string is immutable and string buffer is mutable. when we concatenate characters with string new string object will be created. but when we append string buffer it remains the same object. apart from these what are the key and other difference between them?.

Member Avatar for zerocool21
0
147
Member Avatar for daudiam

Applications like browsers, etc. are written in Java, Python, etc. But when they are installed on a system that doesn't have Java or Python installed, how does it ensure that its code runs there ? Actually, I wanted to write a browser in Java with WebKit as engine. Since the …

0
39
Member Avatar for chitian5057

Hi All, Is there a way to create a HTML file generated in browser in a JSP file? This same JSP file parsed by server and show up in a browser in HTML form and also save this HTML form to a HTML file on the server. The only way …

Member Avatar for javaAddict
0
159
Member Avatar for nelly_1005

hi guys hope you can help well im tryin to connect my jsp to my database, im uisng tomcat 5 and have stored the MS access database in my ROOT folder. i have created a User DNS, and have sdk 1.4.2_08 installed Problem is im not sure what to do …

Member Avatar for ernikhil
0
471
Member Avatar for mutawari

dear all, i have 2 tables. first table named std_table : [CODE] | ID_std | std_1 | std_2 | std_3 | std_4 | std_5 | | 115 | A | B | A | C | D | [/CODE] then i gave another table named cpr_table : [CODE] | ID_cpr …

0
58
Member Avatar for kunalsankpal

Problem Statement The government of India has launched the UID project which aims to give a Unique Identification number to each Indian. The number is a randomly generated 16 digit number. To detect errors when typing in this number, we propose to use the last digit as a checksum. Following …

Member Avatar for kunalsankpal
0
113
Member Avatar for mayank.dyl

How to use build tool ant as i have never used any build tool and how is it better then just compiling and running our programe using javac and java.

Member Avatar for peter_budo
0
133

The End.