LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-21-2013, 11:47 AM   #1
gaurvrishi
Member
 
Registered: Apr 2012
Posts: 45

Rep: Reputation: Disabled
Smile tomcat 7 servlet issue


Hi,

I am using tomcat 7 with apache. I have successfully deploy my application and its working fine. when i open http://domainname.com/nameofwarfile/Home then its not working and if i open http://domainname.com/nameofwarfile/index.jsp its working fine. Please tell me know what would we the problem

<servlet>
<servlet-name>error</servlet-name>
<jsp-file>/error.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>error</servlet-name>
<url-pattern>/Error</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
 
Old 04-21-2013, 02:05 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,117

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Quote:
Originally Posted by gaurvrishi View Post
Hi,

I am using tomcat 7 with apache. I have successfully deploy my application and its working fine. when i open http://domainname.com/nameofwarfile/Home then its not working and if i open http://domainname.com/nameofwarfile/index.jsp its working fine. Please tell me know what would we the problem
Did you read what you posted??

The URL of http://domainname.com/nameofwarfile/Home DOES NOT EXIST. Amazingly, when you put in the CORRECT URL, it's working. Not a problem to SOLVE...have you asked the administrator at your company for help with this?
 
  


Reply

Tags
tomcat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
servlet permission issue on SB computer running tomcat container bard Linux - Embedded & Single-board computer 2 11-04-2012 01:40 PM
how to run a servlet using tomcat me4linux Linux - Networking 0 01-28-2007 04:42 AM
Tomcat: package javax.servlet does not exist xpucto Linux - Software 0 03-21-2006 06:45 AM
install Java (Servlet), Tomcat on Fedora need help. learn Fedora 2 02-24-2004 11:28 PM
system.out.println() not working in servlet, Tomcat Ethan Programming 7 07-24-2002 11:40 AM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration