HI jay73
I installed tomcat prviously in fedora 5 64bit and i got the default page for
http://localhost:8080
But now i have formatted the old one and installed fedora 6 32 bit
I have installed all the rpm packages starting with tomcat
the default page for
http://localhost:8080 is not coming
I didnt find startup.sh or shutdown.sh in /path of tomcat/bin
Will it mean that there is any problem in the installation
How to know whick package is not installed?
Shall i install latest version of tomcat??
What pakages related to java are necessary for tomcat to work??
If i want to install packages related to java then which package should i install ...can u give me the links
I have once posted a thread in this forum with the title
setting classpath and javahome in fedora 5
The error messages displayed are also included in this post
http://www.linuxquestions.org/questi...d.php?t=526272
The thread is as follows
HI everyone
i am using tomcat Apache Tomcat/5.5.15
when i have compiled my testservlet file i got the following error message
[root@localhost classes]# javac TestingServlet.java----------
1. ERROR in TestingServlet.java
(at line 1)
import javax.servlet.*;
^^^^^^^^^^^^^
The import javax.servlet cannot be resolved
----------
2. ERROR in TestingServlet.java
(at line 2)
import javax.servlet.http.*;
^^^^^^^^^^^^^
The import javax.servlet cannot be resolved
----------
3. ERROR in TestingServlet.java
(at line 6)
public class TestingServlet extends HttpServlet {
^^^^^^^^^^^
HttpServlet cannot be resolved to a type
----------
4. ERROR in TestingServlet.java
(at line 8)
public void doGet(HttpServletRequest request,
^^^^^^^^^^^^^^^^^^
HttpServletRequest cannot be resolved to a type
----------
5. ERROR in TestingServlet.java
(at line 9)
HttpServletResponse response)
^^^^^^^^^^^^^^^^^^^
HttpServletResponse cannot be resolved to a type
----------
6. ERROR in TestingServlet.java
(at line 10)
throws ServletException, IOException {
^^^^^^^^^^^^^^^^
ServletException cannot be resolved to a type
----------
6 problems (6 errors)[root@localhost classes]#
I found in one of the threads that BY SETTING THE CLASSPATH VARIABLE IT CAN BE RESOLVED
How to set the classpath variable in Fedora core 5
I read i a book that JAVA_HOME variuable also should be assigned a value i.e the poath where java is installed
Please explain me about setting the variable JAVA_HOME,CLASSPATH....etc[IF ANY] in detail
Bye