Click here to Skip to main content
16,007,610 members
Home / Discussions / Java
   

Java

 
GeneralRe: Can anybody tell me the difference between J2EE, J2SE, J2ME. Pin
Luc Pattyn19-Jul-09 8:56
sitebuilderLuc Pattyn19-Jul-09 8:56 
GeneralRe: Can anybody tell me the difference between J2EE, J2SE, J2ME. Pin
Nagy Vilmos20-Jul-09 1:40
professionalNagy Vilmos20-Jul-09 1:40 
AnswerRe: Can anybody tell me the difference between J2EE, J2SE, J2ME. Pin
Rajdeep.NET19-Jul-09 7:14
Rajdeep.NET19-Jul-09 7:14 
QuestionRegarding zip files in java [modified] Pin
chinnasri16-Jul-09 16:51
chinnasri16-Jul-09 16:51 
AnswerRe: Regarding zip files in java Pin
harold aptroot16-Jul-09 17:03
harold aptroot16-Jul-09 17:03 
GeneralRe: Regarding zip files in java Pin
chinnasri16-Jul-09 17:06
chinnasri16-Jul-09 17:06 
GeneralRe: Regarding zip files in java Pin
harold aptroot16-Jul-09 17:53
harold aptroot16-Jul-09 17:53 
AnswerRe: Regarding zip files in java Pin
David Skelly16-Jul-09 22:40
David Skelly16-Jul-09 22:40 
The documentation for FileInputStream is very clear, if you read it:


If the named file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading then a FileNotFoundException is thrown.


So, either make sure that Allpaths.txt is in the classpath for your application, or specify the full path to its location.

Your while loop is wrong. You close the input stream during the first iteration through the loop, immediately after writing to the deflater. So, the second time you try to read from it, it will fail because it is no longer open.
QuestionI get Logical error! Help me please [modified] Pin
Rajdeep.NET15-Jul-09 7:25
Rajdeep.NET15-Jul-09 7:25 
AnswerRe: I get Logical error! Help me please Pin
fly90415-Jul-09 11:02
fly90415-Jul-09 11:02 
GeneralRe: I get Logical error! Help me please Pin
Rajdeep.NET15-Jul-09 20:33
Rajdeep.NET15-Jul-09 20:33 
AnswerRe: I get Logical error! Help me please Pin
Nagy Vilmos15-Jul-09 22:10
professionalNagy Vilmos15-Jul-09 22:10 
GeneralRe: I get Logical error! Help me please Pin
fly90416-Jul-09 14:44
fly90416-Jul-09 14:44 
GeneralRe: I get Logical error! Help me please Pin
Nagy Vilmos16-Jul-09 21:57
professionalNagy Vilmos16-Jul-09 21:57 
GeneralRe: I get Logical error! Help me please Pin
fly90416-Jul-09 22:12
fly90416-Jul-09 22:12 
Questionproblem with calling xml file in java webservice. Pin
prasadbuddhika13-Jul-09 4:40
prasadbuddhika13-Jul-09 4:40 
Questionjava browser application restrictions Pin
deostroll12-Jul-09 21:48
deostroll12-Jul-09 21:48 
AnswerRe: java browser application restrictions Pin
Nagy Vilmos12-Jul-09 23:05
professionalNagy Vilmos12-Jul-09 23:05 
GeneralRe: java browser application restrictions Pin
deostroll13-Jul-09 0:19
deostroll13-Jul-09 0:19 
AnswerRe: java browser application restrictions Pin
Tr@v22-Jul-09 10:16
Tr@v22-Jul-09 10:16 
QuestionrxtxSerial library multiple serial port listener registration and handling Pin
Kujtim Hyseni12-Jul-09 5:56
Kujtim Hyseni12-Jul-09 5:56 
QuestionHELP!HELP!HELP! Pin
kmnv11-Jul-09 9:52
kmnv11-Jul-09 9:52 
AnswerRe: HELP!HELP!HELP! Pin
Rajdeep.NET15-Jul-09 8:31
Rajdeep.NET15-Jul-09 8:31 
QuestionDifferent object types (references) Pin
Kujtim Hyseni10-Jul-09 6:58
Kujtim Hyseni10-Jul-09 6:58 
AnswerRe: Different object types (references) Pin
harold aptroot10-Jul-09 8:10
harold aptroot10-Jul-09 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.