الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مشكلة في Sevlet

مغلق
بدأه *net* في 15 ديسمبر 2007 · 5 رد · 671 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله ،،،

لدي مشكلة في تشغيل برامج السيرفلت المربوطة بداتا بيس :cry:

هذا هو الخطأ الحاصل :

HTTP Status 404 - /jdbc/servlet/coreservlets.NorthwindServlet

--------------------------------------------------------------------------------

type Status report

message /jdbc/servlet/coreservlets.NorthwindServlet

description The requested resource (/jdbc/servlet/coreservlets.NorthwindServlet) is not available.

--------------------------------------------------------------------------------

Apache Tomcat/5.5.20

آمل ممن لديه معرفة بهذا الخطأ أن يسعفـــــــــــــــــــــــــــــــــــــــــني به ،، فأنا بصدد عمل مشروع كل اعتماده على السيرفلت و الداتا بيس ،،

#2

404 تعني علة ما أتزكر : page not found

وهو بيقولك كده :

/jdbc/servlet/coreservlets.NorthwindServlet) is not available.

#3

كيف أعمل لحلها ؟

#4

بص على الmapping بتاع ال سيرفلت ده في ال web.xml

هل إنتا عملتله mapping في ال web.xml ؟؟؟

شر إليه بال url اللي إنتا أعطيته له في ال Mapping

تم تعديل هذه المشاركة بواسطة مبتدئ جافا في 16 ديسمبر 2007 في 09:40

#5

شكرا أخي مبتدئ على تفاااعلك معي ،،

لكن للأسف معرفتي سطحية جدا بمشاكل السيرفلت ،،

أنا قمت بتحميل JDK 1.5.0 , و apache-tomcat-5.5.20

وملفات الويب موجودة مسبقا ،، وهذا ملف الويب الموجود تحت المسار C:\apache-tomcat-5.5.20\webapps\ROOT\WEB-INF

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  Copyright 2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

	  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<web-app 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"
	version="2.4">

  <display-name>Welcome to Tomcat</display-name>
  <description>
	 Welcome to Tomcat
  </description>

<!-- JSPC servlet mappings start -->

	<servlet>
		<servlet-name>org.apache.jsp.index_jsp</servlet-name>
		<servlet-class>org.apache.jsp.index_jsp</servlet-class>
	</servlet>

	<servlet-mapping>
		<servlet-name>org.apache.jsp.index_jsp</servlet-name>
		<url-pattern>/index.jsp</url-pattern>
	</servlet-mapping>

<!-- JSPC servlet mappings end -->

</web-app>

وجزاك الله كــــــــــل خير ،،

#6

دعك من كل هذا،،،،

أنت تحتاج لأن تبدأ ، البدايه من هنا :

/index.php?showtopic=143658

أو من هنا :

/index.php?showtopic=121526

هذا الموضوع مغلق.

مواضيع مشابهة