Ramesh Babu

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

Recent posts by Ramesh Babu

Hi Guys,
I am preparing for SCWCD. Mean time I had doubt, Is my SCJP 1.4 still valid to proceed my SCWCD 1.4 ?

Thanks for your kind response

Ramesh
Guys,
After reading so many problems, Common question asked by the people is "what version of Tomcat and J2sdk you are using." Since I am just now started to prepare SCWCD I want to make sure I have right combination.


Thanks for your time
Ramesh
So what you guys say


<session-timeout> 0 </sesion-timeout> ---- session never expires
<session-timeout> -1 </sesion-timeout> ---- session never expires
session.setMaxInactiveInterval(-1) ---- session never expires

session.setMaxInactiveInterval(0) ---- expires imm.

:roll:
Chetan Patki congratulations
Thanks Perla Ricardez for the link
Congratulations Mellihoney Michael
Thanks Nitish,
Looks like some problem in Java(TM) Servlet Specification 2.3 download. Can anybody email the Servlet, JSP and JSLT specifications

Thanks
Ramesh
[ January 11, 2005: Message edited by: Ramesh Babu ]
Hi Guys,
I am planning to do SCWCD and bought Head first Serv and Jsp. In that book it says to download the specification for servlet, JSP and JSTL but I did'nt find and download link on that page.
from this page
http://jcp.org/en/jsr/detail?id=154
I clicked download and took me to this one.
http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/index2.html

How do I download the specification.

Sorry for asking such a dump question

Thanks
RB
Hi Nart,
My sincere thanks for you reply. It was a great help to have that jar file.. I made a lot of mistakes like...classpath, home directory...etc...
I had too many Tomcat installed...each one pointing each direction....finally I made it to run...
Thanks
Ramesh
Hi Nart,
Thanks for your quick response...Still I have one double
from where does this "/servlet/ " comes from....You can see from the code that I didn't put it in any package....
<servlet-mapping> <servlet-name>HelloWorldServlet</servlet-name> <url-pattern>/servlet/HelloWorldServlet</url-pattern></servlet-mapping>

I tried still not working ...I know I am missing very small thing...
Thanks for you time
Ramesh
Hi All,
I have just started to work with Tomcat and trying to run HelloWorldServlet from Hanumant...
I think I am doing some mistake to run HelloWorldservlet...
Here is what I did.
Written a class and compiled and put it under webapps\chapter01\WEB-INF\classes\
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HelloWorldServlet extends HttpServlet {
public void service(HttpServletRequest req, HttpServletResponse res )
throws ServletException, IOException {
PrintWriter pw = res.getWriter();

pw.println("<html>");
pw.println("<head>");
pw.println("</head>");
pw.println("<body>");
pw.println("<h3> Hello World - From Ramesh </h3> ");
pw.println("</body>");
pw.println("<html>");
}




}
and put web.xml under webapps\chapter01\WEB-INF
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>HelloWorldServlet</servlet-name>
<servlet-class>HelloWorldServlet</servlet-class>
</servlet>
</web-app>

But here what I have doubt....it says type the following on browser
http://localhost:8080/chapter01/servlet/HelloWorldServlet
where did this servlet directory comes from .... I even tried to remove the servlet directory it still says
Apache Tomcat/4.0.1 - HTTP Status 404 - /chapter/servlet/HelloWorldServlet
description The requested resource (/chapter/servlet/HelloWorldServlet) is not available.
Hi Edward Chen
Would you please give some more details about the books and site you refered. Since I am new to this SCBCD...I didn't get the book name and the sites you are refereing
Thanks
Ramesh
20 years ago
Hi All,
Just I was browsing this site, Can u please suggest me a book and some sites to do SCBCD
Thanks
Ramesh
I don't know whether it is ok to post it here. My apologies if I posted it wrong.
I have passed SCJP2 (1.4),
1.what are all the things I need to add in my resume ( right now I am out of job ).
2. What are all the things I will be getting from Sun Micro Systems.
I really appreciate if you direct me some website.
Thanks
Rames
Hi Guys,
I don't know whether it is ok to post it here. My apologies if I posted it wrong.
I have passed SCJP2 (1.4),
1.what are all the things I need to add in my resume ( right now I am out of job ).
2. What are all the things I will be getting from Sun Micro Systems.
I really appreciate if you direct me some website.
Thanks
Rames