• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml file

 
Durga Kannan
Greenhorn
Posts: 20
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am new to this. I need a suggestion/help for my problem. I have created a Dymanic Web project in eclipse. Iam having a servlet & 2 JSP pages in it. When iam trying to access my application after deploying my WAR file, am geting 500- Internal server error. Iam haivng java complier compliance level 1.6. Am using Tomcat v5.5 server.

Is this because of my Web.xml file which am having in WEB-INF/web.xml file? Please help me understand what kind of error this is. .

Any help/suggestion would be highly appreciated.

Thanks so much in advance.

This is my web.xml file:


Thanks a ton. .
 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not clear about the problem durga. Try to elaborate it. Also its server eror so post the tomcat log file then only we can identify the exact error
 
Swetha Bhagavathula
Ranch Hand
Posts: 112
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Durga Kannan wrote:Hi All,
I am new to this. Iam haivng java complier compliance level 1.6. Am using Tomcat v5.5 server.




hai .. Tomcat 5.x is compatable toits equvalent or lower versions not higher versions.. any software you take ,rule applies the same,it may even servers also..
please the below compatable versions of Tomcat,hope you find where your mistake is..:

Tomcat:
version :7.x (compatable with jdk 1.6/1.7)
version :6.x ( compatable with jdk 1.5/1.6)
version :5.x (compatable with jdk 1.5).
so when you use jdk 1.6 try to use Tomcat web server of version 6...otherwise use jdk1.5 (if you use Tomcat 5.x).. anything out of the above works..


 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When iam trying to access my application after deploying my WAR file, am geting 500- Internal server error.


The server logs will have the entire exception stacktrace, which is what you'll have to look at to understand what's wrong.
 
vinayak jog
Ranch Hand
Posts: 83
MySQL Database Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you are asking some questions be specific and provide all related information
1. Which server you are using
2. What is the version of the server.
3. Server logs
4. Servlet or Jsp in which you think error might be
5. what is your operating system etc.,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic