| Author |
Message |
|
|
Post subject: servlet is currently unavailable ?????????
Posted: Sep 29, 2006 - 12:46 PM
|
|

Joined: Sep 29, 2006
Posts: 4
|
|
I have created a web proj.. using eclipse as the IDE..
The deployment descriptor file web.xml has all the mappings correctly..
but none of the servlets in the proj is accessible..
the servlets' class files are present in the deployed file also..
The proj was completed in one system and ported to a new system..
the proj still works fine with the old system..
all configurations pertaining to the Jboss server are correct.. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 29, 2006 - 05:48 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Moving to OT > Soft Dev |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 30, 2006 - 06:14 AM
|
|

Joined: Sep 29, 2006
Posts: 4
|
|
I understand the problem is with the configuration and not with the Project..
Because even if i create a new proj and a new servlet in it and try to access it... it is unavailable..
But i could not figure out where exactly the problem is..
The configurations are as per the tuorial downloaded from this website... |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 30, 2006 - 03:23 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
What is the name of the servlet? What does your web.xml file look like? And lastly, what URL are you using to try and access it? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 03, 2006 - 10:45 AM
|
|

Joined: Sep 29, 2006
Posts: 4
|
|
the name of the servlet is LoginServlet..
following is the section in the web.xml file corresponding to the login servlet..
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>LoginServlet</display-name>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>com.genuitec.portalx.web.LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/servlet/LoginServlet</url-pattern>
</servlet-mapping>
and im calling the servlet with the form's action attribute... with the URL /servlet/LoginServlet |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 04, 2006 - 10:23 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
|
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|