aspose file tools*
The moose likes Servlets and the fly likes web.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml file" Watch "web.xml file" New topic
Author

web.xml file

Durga Kannan
Greenhorn

Joined: Mar 18, 2011
Posts: 19

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

Joined: Jan 18, 2012
Posts: 136

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

Joined: Jan 04, 2011
Posts: 112

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..



SCJP5
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

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.

[My Blog] [JavaRanch Journal]
vinayak jog
Ranch Hand

Joined: Apr 01, 2011
Posts: 81

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.,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml file