This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Two web applications deployed on tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Two web applications deployed on tomcat server" Watch "Two web applications deployed on tomcat server" New topic
Author

Two web applications deployed on tomcat server

kirankumar badaboina
Greenhorn

Joined: May 30, 2006
Posts: 5
Hi,
I am new to Servlets/JSP. Have started learning them recently. I have developed one simple web app using servlets and JSPs. I am able to access the app using http:/localhost:8080/COFFE/Form.html.

Later I have developed and deployed an another simple web app on same server. I am not able to access the second web app using http:/localhost:8080/Album/..

Please let me know the reason why I am not able to access the second web app. Is that the port number changes for second web app from 8080 to something else. If that is the case how can I find out the port number for the second web app.

It might sounds silly for java experts but I am unable to figure out the problem. Please help me out.

Thanks
Kiran.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60767
    
  65

No, the port number is the same.

How did you set up the new context? Without that, we can't do much to help you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
kirankumar badaboina
Greenhorn

Joined: May 30, 2006
Posts: 5
Thank you so much
Its working now..am able to access it...
 
 
subject: Two web applications deployed on tomcat server
 
Similar Threads
tomcat 3.2 and invoking a servlet
Getting Error Starting Tomcat
problem in Struts2 while running an application
How to Configure Apache HTTp Server with Tomcat
JSP relative link/path problem