עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

בעיה באתר אינטרנט לעבודה במדעי המחשב בשפות html and java

Featured Replies

פורסם

שלום

יש לי עבודה להכין במחשבים ונתקלתי בבעיה שאני לא יודע מה לעשות הבעיה היא שאני מתחבר למשתמש נגיד adi זה לא משנה לי את

התפריט יש שני קצבים יש login ו תפריט

login

<%--

Document : login

Created on : 18/04/2012, 13:50:55

Author : student

--%>

<jsp:useBean id="membersdb" class = "jdbc.ForDataBase"/>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html dir="rtl">

<body dir="rtl">

<center>

<jsp:include page="menu.jsp"></jsp:include>

<h1 align="center">התחברות</h1>

<form name="f2" action="login.jsp" method="post">

<table align="center" width="400">

<tr>

<td >שם משתמש </td>

<td > <input type="text" id="uname" name="uname" > </td>

</tr>

<tr>

<td>סיסמא </td>

<td> <input type="password" name="pass" id="password" > </td>

</tr>

<tr>

<td colspan="2" >

<center>

</br>

<input type="submit" value="התחבר">

</center>

</td>

</tr>

</table>

<%

if (request.getMethod().equals("POST"))

{

והתפריט

<table>

<tr>

<td><a href="index.jsp">על תזונה</a></td>

<td><a href="Gallary.jsp">גלריה</a></td>

<td>

<%

if (session.getAttribute("uname")==null)

{

out.print("<a href='post.jsp'>הרשמה</a>");

}

else

{

out.print("<a href='logout.jsp'>התנתקות</a>");

}

%>

</td>

<td>

<%

if (session.getAttribute("uname")==null)

{

out.print("<a href='login.jsp'>התחברות</a>");

}

else

{

out.print("<a href='logout.jsp'>התנתקות</a>");

}

%>

</td>

<td><%

if (session.getAttribute("uname")==null)

out.print("hello geust");

else

{

if(session.getAttribute("uname")!=null&&session.getAttribute("uname")!=("Yoav"))

out.print("hello"+session.getAttribute("uname") );

if(session.getAttribute("uname")==("yoav"))

out.print("hello my big manager");

}

%></td>

תודה רבה על העזרה

עדי

פורסם

תכניס את זה לטאג קוד, אי אפשר להבין מה אתה רושם

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.