Not able to run the Servlet.....

System does not support the specified encoding. Error processing resource 'file:///C:/tomcat/webapps/ch1/WEB-INF/web.xml'. ...





.......................

xml file:



xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://java.sun.com/xml/ns/j2ee
https://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

Chapter1 Servlet
Ch1Servlet


Chapter1 Servlet
/Serv1




......
How to get over this?




Replies

  • shalini_goel14
    shalini_goel14
    Hey sahil from where you copied this xml file? Try following xml file if it works for you or better go for any sample web.xml provided in examples folder of Apache Tomcat(just search for it in your system)

    
    
     
        
    [FONT=Verdana][/FONT]
    [FONT=Verdana]Chapter1 Servlet[/FONT]
    [FONT=Verdana]Ch1Servlet[/FONT]
    [FONT=Verdana][/FONT]
    [FONT=Verdana][/FONT]
    [FONT=Verdana]Chapter1 Servlet[/FONT]
    [FONT=Verdana]/Serv1[/FONT]
    [FONT=Verdana][/FONT]
    [FONT=Verdana]  [/FONT]
    Try once with encoding="UTF-8" instead of "ISO-8859-1" in above file. Do let me know if still same issue

    Thanks

You are reading an archived discussion.

Related Posts

Dear all Members i decide to build a huge library for HVAC which conatins a lot of Handbooks,Design manuals,Codes and Standards. i will put my first handbook soon With My...
dear all member : i decided to provide free hvac lessons for HVAC-Talk members which aim to develop HVAC designer's skills and knowledge about HVAC design and I will put...
Hi CE's , I'm a passout of 2009 from BITS Mechanical .... I'm well versed wit Pro/E , Catia , Ansys, LS - Prepost & Ls - dyna .... People...
Many Many Happy returns of the day Happy Birthday g_rakesh2 🎉 🎉​- Crazy s​
Although none too surprising, it looks like Microsoft's gearing up to release at least one new Zune model this year, according to company man Brian Seitz via his Twitter account....