LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tomcat 7 servlet issue (http://www.linuxquestions.org/questions/linux-newbie-8/tomcat-7-servlet-issue-4175459007/)

gaurvrishi 04-21-2013 12:47 PM

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>

TB0ne 04-21-2013 03:05 PM

Quote:

Originally Posted by gaurvrishi (Post 4935871)
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?


All times are GMT -5. The time now is 03:05 PM.