• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

web.xml file

 
Greenhorn
Posts: 22
Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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. .
 
Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 112
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..


 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 83
Netbeans IDE MySQL Database Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.,
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic