944,057 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 2664
  • JSP RSS
Jul 15th, 2007
0

about servlets at myeclipse.

Expand Post »
please help me for this.

am trying to execute servlet programe at myeclipse. but am getting

type Status report
message /hi/servlet/hs1
description The requested resource (/hi/servlet/hs1) is not available

at the browser.
and at the server am getting this error
restartContext(/hi)
Reloading this Context has started

plse help me to over come this problum.
jsp page is working properly.

and my .xml file is like this.

******************
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>hs1</servlet-name>
<servlet-class>hs1</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>hs1</servlet-name>
<url-pattern>/hi/servlet/hs1</url-pattern>
</servlet-mapping>

</web-app>


at url-pattern..i changed that to
http://localhost:8080/hi/servlet/hs1.

but still am getting this problum. pls.. any one help me for this.
Similar Threads
Reputation Points: 9
Solved Threads: 0
Light Poster
push is offline Offline
33 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: sending mail from jsp page
Next Thread in JSP Forum Timeline: Database Connection with MY Sql





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC