I'm trying to run a small web application deployed in JBoss 4.0.4 version but receiving the following error message
"The requested resource (/EnterpriseWeb/Authenticate.do) is not available". I'm not able to figure out the issue. Could you please guide me here ?
After starting JBoss, If i hit http://localhost:8080/EnterpriseWeb/Authenticate.do, I receive the message
The requested resource (/EnterpriseWeb/Authenticate.do) is not available.
I see this message even when I click on submit button on the html page.
The issue seems to be very trivial but could not figure out the exact reason. Can any body point the mistake, I'm doing here ?
Kumar Raja wrote:<j2ee:url-pattern>Authenticate.do</j2ee:url-pattern>
Change it as:
Just one suggestion...
Kumar Raja wrote:xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
Change it as:
Below is the code of the servlet
Is there any way I can actually find the reason why it is failing, like in some logs or run time errors. Does Tomcat 5.5.17 that is shipped with JBoss give me some run time error, I mean real error stack.
Ok, I got this fixed. But not sure what was the reason earlier.
I changed my web.xml based on "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
<?xml version="1.0" encoding="ISO-8859-1"?>
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
My earlier web.xml is based on web-app 2.4 schema. Is JBoss 4.0.4 not supportive for Servet 2.4 ? Is this the conclusion? Or was that something I did terribly wrong ?