Rajitha Arun

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

Recent posts by Rajitha Arun


Thanks a lot for the timely help. I really appreciate it.

15 years ago

I am trying to run ant script and getting the following error. Any help in this regard is highly appreciated. This script runs in one machine and bombs on the other. Thanks in advance.

[ejbjar] Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd) to a local entity

BUILD FAILED: C:\Documents and Settings\wpsuser\1_70_intg1\vobs\apps_scs\scs\construction\scs.xml:19: The following error occurred while executing this line:

C:\Documents and Settings\wpsuser\1_70_intg1\vobs\apps_scs\scs\construction\scs.xml:49: The following error occurred while executing this line:

C:\Documents and Settings\wpsuser\1_70_intg1\vobs\apps_scs\scs\scs\brokerejb\build.xml:77: IOException while parsing'ejb-jar.xml'. This probably indicates that the descriptor doesn't exist. Details: java.sun.com
15 years ago
Thanks Merrill. After while driving to office I was thinking the same thing. Once again thanks for letting me know that I am on the right direction.
16 years ago

My application uses struts plugin interface. When the app comes up it gets connected to DB2 and executes some query. We have downtime for these and everything gets restarted at the same time. If DB2 is not up at the right time then the app fails and it throws servlet exception, since it uses plugin class while it comes up and stores the respective data in the servlet context.

I need workaround solution for this. So I thought of checking the context for each request and if the attributes in the context are null I thought of calling the plugin class again. Is this a good idea? If so how will I call the struts plugin class from my struts action class.

Please HELP!

Thanks in advance
16 years ago

The application I am working on uses struts framwork and jdbc to get connected to db. Ajax is used on the client side. When I try to get 1500 rows from the database(db2) and display it in the list box, nothing happens. Can anybody help me out here? Result set is store in TreeMap object as key value pair.

16 years ago
Congrats Mallika! Good questions you have there in the forum. Way to go!
Yes, I went through the spec ,HFSJ book and whizlab simulator. And also the sites which had mock exams.
Hi Ranchers,

Finally, made it to the exam and got the score of 79% on March 30th. It�s good to be Sun Certified Web Component Developer.

I was bit scared to appear for the exam because, the time period I gave for my preparation was only one month and I did not have any prior knowledge of jsp and servlets. Once I went to the exam center I gained confidence. Nice experience!

First of all I would like to thank Kathy Sierra, Bert Bates and Bryan Basham for their wonderful book. It was like a guiding star to me. Thank you! Hmmm�..I only read their book and the spec. Wish I had taken enough time to go through Mikalai Zakin and Frederic Esnault notes. :roll: Would definitely do that for SCBCD.

Regarding the mock exams:

1.HFSJ � Mock Exam
2.Whizlab SCWCD simulator.

My advice to the ranchers, who are taking this exam,

Dedicate enough time each day and go through the success stories in the wall of fame for expert guidance and also the SCWCD forum.

All the ranchers who are going to take the exam � ALL THE BEST!
Whizlabs does not work in Windows Vista OS.
The answer is "hello how are you".
I tried your example (copy - pasted). It works fine. Are you sure you have placed the bean in the right directory?
Hi Mallika,

Did you work this example out? The answer should be choice 2.


doAfterBody() will also be invoked if the return is EVAL_BODY_INCLUDE. Isn't? EVAL_BODY_BUFFERED is for doInitBody(). Correct me if I am wrong.
Thank you so much, Rancy. That article really helped me to understand about the file and page attributes.