about servlets at myeclipse.

Reply

Join Date: Apr 2007
Posts: 33
Reputation: push is an unknown quantity at this point 
Solved Threads: 0
push push is offline Offline
Light Poster

about servlets at myeclipse.

 
0
  #1
Jul 15th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC