  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Help needed to run HelloWorld servlet in weblogic | Help needed to run HelloWorld servlet in weblogic 2003-12-24 - By Murugan
Back Hi, I am using Weblogic 8.1 beta verision. I deployed Helloworld.war. It has HelloWorld.java, Helloworld.class and index.html.
I deployed through weblogic console. It was deployed successfully. If tried to open that HelloWorld in browser, It is giving
this error message
Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.5 404 Not Found The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
My web.xml is here <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)" ?> <!DOCTYPE web-app (View Source for full doctype...)> - <web-app> <display-name>Sample</display-name> - <!-- Standard Action Servlet Configuration (with debugging) --> - <servlet> <servlet-name>HelloWorld</servlet-name> <servlet-class>HelloWorld</servlet-class> <load-on-startup>2</load-on-startup> </servlet> </web-app>
I tried this http://localhost:7001/helloworld/HelloWorld
How to solve this? Can any one pls help me? I am new to J2EE platform. Thanks in advance.
With Regards from Murugan
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-2022 (See http://iso-2022.ora-code.com)-jp"> <META content="MSHTML 6.00.2600.0" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi,</FONT></DIV> <DIV><FONT face=Arial size=2> I am using Weblogic 8.1 beta verision. I deployed Helloworld.war. It has HelloWorld.java, Helloworld.class and index.html. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I deployed through weblogic console. It was deployed successfully. If tried to open that HelloWorld in browser, It is giving</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>this error message</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV>Error 404--Not Found</DIV> <DIV> <TABLE cellPadding=10 width="100%" border=0> <TBODY> <TR> <TD vAlign=top width="100%" bgColor=white><FONT face="Courier New"><FONT face=Helvetica size=3> <H3>From RFC 2068 <I>Hypertext Transfer Protocol -- HTTP/1.1</I>:</H3></FONT><FONT face=Helvetica size=3> <H4>10.4.5 404 Not Found</H4></FONT> <P><FONT face="Courier New">The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.</P> <P>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.</FONT></P></FONT></TD></TR></TBODY></TABLE></DIV> <DIV>My web.xml is here</DIV> <DIV> <FONT color=#0000ff><SPAN class=m><?</SPAN><SPAN class=pi>xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)" </SPAN><SPAN class=m>?></SPAN></FONT> <DIV class=e><SPAN><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=d><FONT color=#0000ff><!DOCTYPE web-app<I> (View Source for full doctype...)</I>></FONT></SPAN> </SPAN></DIV> <DIV class=e> <DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><A class=b onfocus=h() onclick="return false" href="file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp /web.xml#"><STRONG><FONT face="Courier New" color=#ff0000>-</FONT></STRONG></A> <SPAN class=m><FONT color=#0000ff><</FONT></SPAN><SPAN class=t><FONT color=#990000>web-app</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN></DIV> <DIV> <DIV class=e> <DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=m><FONT color=#0000ff><</FONT></SPAN><SPAN class=t><FONT color=#990000>display-name</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN><SPAN class=tx><STRONG>Sample</STRONG></SPAN><SPAN class=m><FONT color=#0000ff></</FONT></SPAN><SPAN class=t><FONT color=#990000>display-name</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN> </DIV></DIV> <DIV class=k><SPAN><A class=b style="VISIBILITY: hidden" onfocus=h() onclick="return false"><STRONG><FONT face="Courier New" color=#ff0000>-</FONT></STRONG></A> <SPAN class=m><FONT color=#0000ff><!--</FONT></SPAN></SPAN> <SPAN class=ci id=""><PRE><FONT color=#888888> Standard Action Servlet Configuration (with debugging) </FONT>< /PRE></SPAN><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <FONT color=#0000ff><SPAN class=m>--></SPAN> <SCRIPT>f(clean);</SCRIPT> </FONT> </DIV> <DIV class=e> <DIV class=c style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><A class=b onfocus=h() onclick="return false" href="file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Temp /web.xml#"><STRONG><FONT face="Courier New" color=#ff0000>-</FONT></STRONG></A> <SPAN class=m><FONT color=#0000ff><</FONT></SPAN><SPAN class=t><FONT color=#990000>servlet</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN></DIV> <DIV> <DIV class=e> <DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=m><FONT color=#0000ff><</FONT></SPAN><SPAN class=t><FONT color=#990000>servlet-name</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN><SPAN class=tx><STRONG>HelloWorld</STRONG></SPAN><SPAN class=m><FONT color=#0000ff></</FONT></SPAN><SPAN class=t><FONT color=#990000>servlet-name</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN> </DIV></DIV> <DIV class=e> <DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=m><FONT color=#0000ff><</FONT></SPAN><SPAN class=t><FONT color=#990000>servlet-class</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN><SPAN class=tx><STRONG>HelloWorld</STRONG></SPAN><SPAN class=m><FONT color=#0000ff></</FONT></SPAN><SPAN class=t><FONT color=#990000>servlet-class</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN> </DIV></DIV> <DIV class=e> <DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=m><FONT color=#0000ff><</FONT></SPAN><SPAN class=t><FONT color=#990000>load-on-startup</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN><SPAN class=tx><STRONG>2</STRONG></SPAN><SPAN class=m><FONT color=#0000ff></</FONT></SPAN><SPAN class=t><FONT color=#990000>load-on-startup</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN> </DIV></DIV> <DIV><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=m><FONT color=#0000ff></</FONT></SPAN><SPAN class=t><FONT color=#990000>servlet</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN></DIV></DIV></DIV> <DIV><SPAN class=b><STRONG><FONT face="Courier New" color=#ff0000> </FONT></STRONG></SPAN> <SPAN class=m><FONT color=#0000ff></</FONT></SPAN><SPAN class=t><FONT color=#990000>web-app</FONT></SPAN><SPAN class=m><FONT color=#0000ff>></FONT></SPAN></DIV> <DIV><SPAN class=m><FONT color=#0000ff></FONT></SPAN> </DIV> <DIV><SPAN class=m><FONT color=#0000ff>I tried this</FONT></SPAN></DIV> <DIV><SPAN class=m></SPAN><SPAN class=m><FONT face=Arial size=2><A href="http://localhost:7001/helloworld/HelloWorld">http://localhost:7001 /helloworld/HelloWorld</A></FONT></SPAN></DIV> <DIV><SPAN class=m><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=m><FONT face=Arial size=2>How to solve this? Can any one pls help me? I am new to J2EE platform. Thanks in advance.</FONT></SPAN></DIV> <DIV><SPAN class=m><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=m></SPAN><SPAN class=m><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=m><FONT face=Arial size=2>With Regards from</FONT></SPAN></DIV> <DIV><SPAN class=m><FONT face=Arial size=2>Murugan</FONT></SPAN></DIV></DIV></DIV></DIV></BODY></HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |