Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"

Saraswathy Krishnamoorth

Ranch Hand
+ Follow
since Mar 07, 2003
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 Saraswathy Krishnamoorth

Thanks Sultan and Louise Haydu.
I am using the Tomcat version 4.1.24 and the invoker servlet mapping was commented out in conf/web.xml. After uncommenting that, the url http://localhost:8080/chapt1/servlet/HelloWorldServlet... works.
Why is the invoker servlet mapping commented out in conf/web.xml in newer version of tomcat. Are we not suppose to use /servlet/HelloworlServlet....

[ June 20, 2003: Message edited by: Saraswathy Krishnamoorth ]
I have included the servlet-name and servlet-class elements in web.xml. I have the HelloWorldServlet class file under webapps/chapt1/web-inf/classes directory.
When I try to run the servlet using http://localhost:8080/chapt1/servlet/HelloWorldServlet, I get the following error.

HTTP Status 404 - /chapt1/servlet/HelloWorldServlet
type Status report
message /chapt1/servlet/HelloWorldServlet
description The requested resource (/chapt1/servlet/HelloWorldServlet) is not available.

But if I include a servlet-mapping element in the web.xml and try to run the servlet using http://localhost:8080/chapt1/HelloWorldServlet, it works.
How can I run the servlet using http://localhost:8080/chapt1/servlet/HelloWorldServlet...How to resolve the above error.
[ June 19, 2003: Message edited by: Saraswathy Krishnamoorth ]
I had used three packages,
suncertify.server and
21 years ago
I submitted my project on 29th of April and took the essay exam on May 2nd and got my results on May 30th.
21 years ago
Hi All,
I got my results yesterday...I lost 6 marks in GUI Section....
The maximum possible number of points is 155; the minimum to pass is 124. Section Summary Report:
General Considerations: Maximum=58 Deductions=0 Actual=58
Documentation: Maximum=20 Deductions=0 Actual=20
GUI: Maximum=24 Deductions=6 Actual=18
Server: Maximum=53 Deductions=0 Actual=53
Total: Maximum=155 Deductions=6 Certification Score=149

I would not have made it without the help of this forum....Thanks to everyone on this great forum. My special thanks to Mark, Max and Eugene. Thanks a lot.

[ May 31, 2003: Message edited by: Saraswathy Krishnamoorth ]
[ May 31, 2003: Message edited by: Saraswathy Krishnamoorth ]
21 years ago
Hi Alfred,
I too had the same problem and got it resolved. You have to send an e-mail to prometric stating the problem(mention both Candidate IDs). They will merge the two accounts into a single one and assign you a new Candidate ID.
21 years ago
Thanks Mark. The following link discuss about the Factory Method Pattern.1. Factory Method Pattern
According to this, does example 1 fall under factory method pattern. Please clarify. I am confused.
Factory method
[ April 24, 2003: Message edited by: Saraswathy Krishnamoorth ]
[ April 24, 2003: Message edited by: Saraswathy Krishnamoorth ]
What is the difference between Factory pattern and Factory method pattern.
Example: 1
A class has a method getObject( String type).
This method returns one of the subclasses based on the type. Is this a Factory pattern or Factory method pattern.
Example 2:
A class has a method getObject(). A is an interface and b and c implement A.
This method returns objects of the subclass(b). Is this a Factory pattern or Factory method pattern.
I am not able to identify the patterns for the above examples. Please clarify.
Thanks Venkateswara Rao.
Hi Raffe,

To start the client:
java -jar client.jar <<put db location here>> <<put server location here>>

One small clarification. During Remote mode why do you need to specify the location of db.db when you execute the client.jar. The server should know the location of db.db.
Thanks Andrew.
Thanks Max.
If the suncertify\db\db.db is placed within the executable client.jar and if I try to execute, I get the error
non existant file suncertify\db\db.db. I have included the client.jar in the classpath.
How should I solve this problem.