Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Robyn Morin

Greenhorn
+ Follow
since Mar 21, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Robyn Morin

I discovered the problem is because of the following

<?xml version="1.0" encoding="ISO-8851-1"?> = bad
<?xml version="1.0" encoding="UTF-8"?> = good

anyhow someone in another thread provided me the answer.

Sorry for posting a duplicate thread.

Robyn
8 years ago
Thanks for posting this... the change to UTF-8 saved what is left of my already fleeting sanity.
I have been researching this problem to no avail for weeks.

Robyn
8 years ago
Hi all,
I am relatively new to servlets, but I am trying to test a simple servlet with Ubuntu Karmic Koala 9.10 and Tomcat 6 and while I am able to seemingly get Tomcat working to the point where I can see the Tomcat page and run the Servlet and JSP examples when I visit http://localhost:8080, I cannot seem to get my own servlet to work when I add the new folder to the Tomcat folder webapps. In this folder I have created my new servlet folder which includes a folder WEB-INF which contains web.xml and the folder classes which contains MyServlet.class.

Based on the example I am working from this is all I should need to get my basic servlet up and running but when I try to visit the url corresponding to my servlet I get the http 404 error "resource() not available"

Is there some sort of Tomcat configuration that I need to do to be able to use my own servlets?

Thanks

Robyn
8 years ago