my dog learned polymorphism*
The moose likes Servlets and the fly likes Need a big help help in tomcat..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need a big help help in tomcat....." Watch "Need a big help help in tomcat....." New topic
Author

Need a big help help in tomcat.....

vijaiah
Greenhorn

Joined: Feb 08, 2001
Posts: 3
Hello friends...
My Apache v 1.3.12 is running on port number 80 which is a default port on WinNT machine.And ApacheJserv 1.1.2 is running on 8040 on the same machine.Now i want to invoke a .jsp file from the servlet.So i have downloaded the tomcat 3.2.1 and it is running at 8080..and the servletengine which comes along with tomcat is running at 8007.
All three are running at their respective ports successfully.
Now the thing is....i kept all my .html files in "public_html" folder in Apache and all the servlets in "servlets" directory under Apache.Now i want to invoke a .jsp file which is on the tomcat directory....Is it possible.if so where shall i keep my .jsp file.and what is the url i have to give in the RequestDispatcher("url")....
Is it like
"http://localhost:8080/examples/jsp/jsptoserv/hello.jsp"
i have already tested with the above url..but didn't got any luck.
If it is not possible to invoke a .jsp file which is running on the tomcat from a servlet which is running on ApacheJserv which is again running on the Apache.....what should i do go get the above architecture.....

Thank you very much for your help.
--Vijay Vangara.
vijaiah@hotmail.com
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"vijaiah"
You have already been warned about the user name you have chosen. This name will soon be turned off, so please choose another name immediately.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
 
subject: Need a big help help in tomcat.....
 
Similar Threads
Apache Not able to get html files & GIF files placed in the Tomcat
avoid port number :8080 in URL ?
I have trouble in setting proxy in apache server
avoid port number :8080 in URL ?
Servlet