Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

jsp : variablen und frames

Empfohlene Antworten

Hi,

ich hab 2 dateien:

index.jsp

user.jsp

in der index.jsp steht ein frameset drinne, mit dem auch die user.jsp geladen wird.

wenn ich nun index.jsp?var=test eingebe und in der user.jsp den wert abfragen will (getParameter) dann funtzt das net. beim direktaufruf von user.jsp?var=test geht es.

wie muss ich das nun schreiben, dass die variable auch im framewindow gesetzt ist?

danke

Hallo,

der Request geht nur an die Seite, an den die Parameter geschickt werden, in deinem Fall also index.jsp. Da index.jsp wiederum user.jsp aufruft ist das nicht der gleiche Request, somit keine Möglichkeit da direkt ranzukommen (frag mich jetzt net ob man da irgendwas tricksen kann..)

merci ...

auf forum.java.sun.com hat einer gemeint, man koenne das im frameset definieren, dass die variable weitergegeben wird ... hatte ich aber schon probiert, das ging net ...

naja, habs nun verworfen und ne tabelle statt nem frame gemacht ...

so long

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.