Ronaldo Nazario

Greenhorn
+ Follow
since Sep 30, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ronaldo Nazario

Welcome to the forum, friend!

Reading Heads First is a very good start! However, before sitting for the exam I would recommend some exam-specific readings. When I was preparing for the Programmer Certification, Kathy Sierra's book was very helpful.

It is hard to say how long your preparation will take. It depends on your effort and dedication. I would say a good indication to whether you are ready or not to pass the certification are your mock exam results. Once you start scoring 80-90% on them I would say you are ready...

Good luck!!!
Hello!

I'm thinking about buying Whizlabs' SDJWS Mock Exam (https://www.whizlabs.com/scdjws/scdjws-mock.html). Can someone provide some feedback about this product?

Cheers!!!
Ok, I see. But how can you tell if a name is fictitious or not? I can just type anything I want... anyway... this is a great forum so I'll abide to its rules. Thanks for the tip.

Now, can anyone help me? :roll:
16 years ago
Hi all,

I'm very glad to say that I passed the exam with 94%.
To prepare for the exam I've read HFSJ, and I was always checking the spec and doing tests.

I did all three Marcus Green's mocks, scoring more than 90% in all of then. They are really helpful and are free, but I found some mistakes on the answers.
I also did the final mock in HFSJ scoring 75%.

The exam had some really complicated questions, and I have to say that I've answered around 50% of the questions without being absolutely sure if I was giving the write answer. I tried to use good sense and elimination most of the times. The other half of the questions was pretty easy.

So my advice is to read the book but not rely entirely on it to do your preparation, for the exam will have some concepts that are not there.

Well, that's it. Thanks everyone.
Thanks Ulf, I've changed the String to this path:

C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/Webdisk/UploadedFiles

and now it's working just fine.
16 years ago
I'm building an application that allows users to upload files into the server, but I don't want to specify a single folder to store all the files. I want to create a folder for each user, the name of the folder would be the username.

I tried to use this code:



Where "/Public/" is a directory which doesn't exist on the server, therefore I have to create it at runtime.

I think this is more a java.IO question, but as I bumped into it doing a web application I decided to post it here...

Thanks
16 years ago
I'm building an application that allows users to upload files into the server, but I don't want to specify a single folder to store all the files. I want to create a folder for each user, the name of the folder would be the username.

I tried to use this code:



Where "/Public/" is a directory which doesn't exist on the server, therefore I have to create it at runtime.

I think this is more a java.IO question, but as I bumped into it doing a web application I decided to post it here...

Thanks
16 years ago
Thanks Ulf. I still have a question though, what is "volume root"?

So, if my application is called "MyApp" I should put "/MyApp/UploadedFiles/"? Is that correct?
16 years ago
Hi!

I'm having problems when testing a simple upload servlet using Apache FileUpload.
This is the code i'm using in my Servlet:



But i'm getting this error message: "\UploadedFiles (The system cannot find the path specified)"
I've tried to insert a complete file name (with name and extension, "UploadedFiles/test.pdf") when instantiating a File object, i've also tried to insert "/" at the beginning of the String, but I always end up with a similar error message.

What am I doing wrong?
16 years ago
Is there a way to stablish communication between a Flash movie and a Servlet, whithout using Flash Remoting MX?

I just need to send some parameters from the movie to the servlet and send a result to the movie.

Cheers!
16 years ago
First of all, all the listeners are interfaces, so your class would implement them, not extentend them.

If you set an attribute to a session twice this is what you'll get:

1st time you include the attribute:
1- call to valueBound

2nd time you include the attribute:
2- call to valueBound
3- call to valueUnbound

In the HFSJ it says:

The <body-content> element can be one of either three or four values , depending on the type of tag.



Does that mean that simple tags and classic tags accept different values in that element?

Do both of them accept the value JSP in that element?

Cheers
Hey guys,

I have a very basic question about xml in general, not only the DD or TLD specificaly...



How do I interpret this description? How do I know if an element is mandatory or not?

? - must mean optional
+ - means that more than one element can be declared, i guess...
and *?

Is there a guide that someone could recommend me?

Thanks

:roll:
Ok, I got it. It makes sense...
So, to use a tag file that is inside a JAR, I just have to use a taglib directive with a uri value that matches the uri from the TLD which is in the JAR.

Cheers!
Ok, I think I wasn't clear enough.

My question is about a taglib directive "tagdir" attribute.

<%@ taglib prefix="mine" tagdir="WEB-INF/lib/my.jar/META-INF/tags" %>

That's how I should indicate a directory that has tags inside a .jar?

<%@ taligb prefix="mine" tagdir="WEB-INF/tags/descr.tld" %>

Is that correct? Can I put a .tld file as a value of a tagdir attribute? How would that work?
[ October 11, 2007: Message edited by: Ronaldinho Gaucho ]