It shows that Servlet does not exist: HTTP Status 404 - Servlet ListManagerServlet is not available but I set everything same like for the other servlets from the package(I mean web.xml)
Tim thanks for your reply, but I still don't found out what is going on! I've found in log smthg like "INFO: Marking servlet ListManagerServlet as unavailable".
Thks Bill, but I think that's not a problem 'coz all other works well from the same package(default package), and I was set it in web.xml file, like the others... i feel sicK!
Originally posted by Slavko Glisic: Please, can any body help me with this servlet:
Are you sure that an exception is not being thrown by your code in init? Althought normally I would expect any exceptions thrown to show up on the logs, try adding some logging statements (System.out.println) before the throw statements.
William Brogden
,
Author and all-around good cowpoke
Now that I think about Sonny's suggestion - the only way you can get a not available message that I know of is if the NotAvailableException is thrown. So it is likely that your web.xml is not providing the addressfile parameter. Trying to debug servlets that are not put in packages is a hopeless task - thats what years of experience on this and other forums has shown. Just go ahead and bite the bullet - learn how to use packages and pay close attention to the correct form of web.xml. Also - do NOT use the /servlet/ form of URL addressing that requires the use of the "invoker" servlet. Bill
Thanks Sonny, Bill Really I'm still new in servlets and I really want to bite the bullet, I don't expect to somebody make job for me, any way this is just one example what I trying to work... I know that is best way for learning is go inside and try to fix what is the problem, but like I'm said all the other servlet behave normal except this one... b.t.w. this how looks my web.xml Regards!
That's it Shailesh, thanks a lot. I must learn more about servlet deploying... Just another question why in the log file this doesn't show me that exception is thrown?
Post by:autobot
I promise I will be the best, most loyal friend ever! All for this tiny ad:
a bit of art, as a gift, the permaculture playing cards