Laxman Guru

Greenhorn
+ Follow
since Feb 26, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Laxman Guru

Thanks for your replies,

creating a ZIP file with the contents will probably be more useful

are you advising me to zip the entire content of the folder?
ohh! that can not be possible in my case.i am creating file explorer like application which displays the remote m/c files in a tree format.

Make sure the directories are also present int he System B


no it doesn't..so that i need to create a object,put the files details and serialize it...any other ideas?
15 years ago
Hi,
In System - A, i listed the files of a directory(using listFiles()) and store that object in a serialized format
In System - B, i've deserialized the file and iterate the file object. the isDirectory() method always return false here..It works perfectly on System - A
15 years ago
Hi
are you using JSF 1.1 or JSF 1.2? Change the return type of the action method to String...It will work...
16 years ago
JSF

Even though I did go through api, I have a doubt about the third parameter (i.e count=1)DOes it mean, that once the log file size reaches 1MB, it flushes teh contents in MyLogFile.log and starts writing in the same file. Please clarify.



This is what you have asked above...Isn't?

This happens because you are limiting the size of the file to 1MB...Count is to rotate set of files...Set count as 2 and see what happens...
16 years ago
cool...
[ April 25, 2008: Message edited by: Laxman Guru ]
16 years ago
Parameters in a request are set by the HTML client when the request is created, typically form elements (input and file elements to be exact) within a HTML form. Therefore if the form that called your servlet/JSP page had an element with a name "chennai", you would retrieve the value of that form element by using getParameter("chennai").
17 years ago
Hi Anitha,
Welcome to Java Ranch...Not only "http:",try anitha:,ramesh:.The compiler treats them as labels...So it compiles fine...
http:->Label
//www.google.com ->comment
Hope...it clarified your doubt....
[ March 21, 2008: Message edited by: Laxman Guru ]
17 years ago
try object.getDeclaredFields()method...It will return an array of Field objects reflecting all the fields declared by the class or interface represented by this Class object. This includes coderanch, protected, default (package) access, and private fields, but excludes inherited fields.
For further reference see webpage
17 years ago
Hi Surya,
use object.getClass().getFields() method.But it returns only the public fields.
17 years ago
"Is Java a partially Object Oriented Programming Language?"
17 years ago
Your code works fine for me.what error messages are you getting?can you post it?
17 years ago
For the same input(2008-03-30T15:30:00.000+02:00)
Your code yields "Result==> 03/30/2008 03:30 PM"
and mine gives "NewDate-->03/30/2008 09:30 PM"....Now i m wondering How i m going to learn java?
17 years ago