Srinivas M

Greenhorn
+ Follow
since Dec 18, 2002
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 Srinivas M

Hi Madhur,
You don't need to download j2sdkee for compiling your class. The tomcat servlet.jar file is the correct jar file. Please verify your classpath setting again.
I have Tomcat 4.1.12 version and everything works fine.
regards
Srinivas
[ February 14, 2003: Message edited by: Srinivas M ]
Hi,
Open the File "startup.bat" in <your tomcat install directory>/bin folder and set the JAVA_HOME as
set JAVA_HOME=<your jdk install dir>
for Example
set JAVA_HOME=C:\JDK1.4
Also check the CATALINA_HOME env variable in the same file
for Example
set CATALINA_HOME=D:\jakarta-tomcat-4.1.12
You should be able to start Tomcat Server.
regards
Hi Jack,
I tested your sample code and everything is working fine me.
Here is my environment:
OS : Windows 2000
Tomcat Version : 4.1.12
I have tested your both scenarios:
1. With "load-on-Startup" the init() method is executing during the server startup and on subsequent call to the servlet it is executing the Service method and printing both the variables properly.
2. Without "load-on-startup" the init() method as well as the service method are getting executed when the servlet is invoked for the first time and I am able to see the values properly. On subsequent call to the servlet it is executing the service method only.
FYI
[ February 10, 2003: Message edited by: Srinivas M ]
Please set the JAVA_HOME environment variable ( through Control Panel - System - Environment Variable)
You need to uncomment the following code in the web.xml file under <your tomcat install folder>/conf
Look for the following lines and uncomment the lines related to the invoker servlet
<!-- The mapping for the invoker servlet -->
<!--
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
-->
Now restart your tomcat server and test the example using the URL
http://localhost:8080/chapter01/servlet/HelloWorldServlet
It will work for you now.
Srinivas
Hi All,
Please go to the site http://www.jdiscuss.com. This site is maintained by the author Hanumant Deshmukh of the famous manning book - SCWCD Exam tool kit. It also has discussion forum on SCWCD. It has links to all mock exams ,books, study notes (including velumurugan's ) , tutorials and commercial test tools.
Besides , the site has 4 mock tests of 30 questions each on SCWCD. Also you can see lot of questions in the history link sponsored by JWebPlus.
I strongly recommend all of you to go this site and participate in the discussion forum. The good thing is that the co-Author Jignesh Malavia is one of the moderators of the forum
Hope this will help all of you.
Hi All,
Please go to the site http://www.jdiscuss.com. This site is maintained by the author Hanumant Deshmukh of the famous manning book - SCWCD Exam tool kit. It also has discussion forum on SCWCD. It has links to all mock exams ,books, study notes (including velumurugan's ) , tutorials and commercial test tools.
Besides , the site has 4 mock tests of 30 questions each on SCWCD. Also you can see lot of questions in the history link sponsored by JWebPlus.
I strongly recommend all of you to go this site and participate in the discussion forum. The good thing is that the co-Author Jignesh Malavia is one of the moderators of the forum
Hope this will help all of you.
You need to uncomment the following code in the web.xml file under <your tomcat install folder>/conf
Look for the following lines and uncomment the lines related to the invoker servlet
<!-- The mapping for the invoker servlet -->
<!--
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
-->
Now restart your tomcat server and test the example using the URL
http://localhost:8080/chapter01/servlet/HelloWorldServlet
It will work for you now.
Srinivas
Hi Ram,
The preparation for SCWCD exam depends on few factors like
1.How much real time experience you have with Servlets and JSP technology
2. How much time you can spend daily for the preparation besides your regular work
If you are already working with servlets and jsps then you need about 3 to 4 weeks for the preparation. Topics like Tag library needs some time to understand because not many people create tag libraries in their regular development rather they use the tag libraries created by some core team. Also you need to test yourself using the mock tests. If you are getting 85 to 90 % in all the mock tests of jwebplus then you can takeup the exam.
I recently passed the SCWCD with 93%. It took me about 3 weeks for preparation.
Manning book is one of the best available for the SCWCD exam preparation. Also go through the Servlet and JSP APIs and specification docs.
All the best
Srinivas
[ January 21, 2003: Message edited by: Srinivas M ]
[ January 21, 2003: Message edited by: Srinivas M ]
The Manning book is one of the best for SCWCD examination. The questions in the book and 3 mock tests that are provided in CD are at the same standard as that of the real examination. The best way to prepare for the exam is to understand the concepts,APIs rather than over reading the book. If you are confident then take all mock tests in the CD. If you are getting around 85 to 90% then go for the examination.
Last week I appeared for the SCWCD examination and got 93%. Apart from manning book, go through the APIs and specs of Servlet and JSP. They are all included in the CD.
All the best
cheers
Srinivas
1. setPageContext() method is the first method that is called in the Custom Tag life cycle
2. pageContext implicit object is set on the above method call by the JSP Container. .
3. We can access other implicit objects like session, application and request using the pageContext object
So,all the object that are stored in different scopes are available to the Cutom Tags
Answer "c" is true as it clearly says that user-defined objects in all scopes - means the user defined objected stored in different scopes.
Java Beans are the objects that are stored in one of the scopes in a JSP page( page, session, request or application). So answer "1" is true as well.
Kalpesh,
Please go to the BEA's website for complete documentation of weblogic servers. You need to understand the basic concepts of web applications. BEA provided a very good online documentation.
Pl visit e-docs for weblogic platform 7.0
Here is the definition of a web application as defined by Bea
"A Web Application contains an application's resources, such as servlets, JavaServer Pages (JSP), JSP tag libraries, and static resources such as HTML pages and image files. A Web Application can also define links to resources outside of the application such as Enterprise JavaBeans (EJBs). Web Applications deployed on WebLogic Server use a standard J2EE deployment descriptor in conjunction with an optional WebLogic-specific deployment descriptor to define the resources and their operating parameters.
JSP pages and HTTP servlets can access all services and APIs available in WebLogic Server. These services include EJBs, database connections through Java Database Connectivity (JDBC), JavaMessaging Service (JMS), XML, and more. "