Aller au contenu
View in the app

A better way to browse. Learn more.

Next

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] Afficher une image a partir du reseau local

Featured Replies

Posté(e)

Bonjour à tous,

dans ma JSP, j'ai une chaîne du type "\\nomMachine\MaTete.jpg"

et on me demande de l'afficher par contre je sèche complètement sur la façon de l'afficher

Posté(e)

On te demande d'afficher quoi ? La chaîne ? L'image ?

De quelle façon la chaîne est-elle passée à la JSP ?

Et, de toute façon, les URL de type \\machine\ressource sont une technologie propriétaires windows, et si ton serveur d'application tourne sous un unix/linux, je ne suis pas sûr qu'ils puissent y accéder.

Mais admettons.

Si l'image est bien accessible, il suffit de faire un truc comme :

<img src="<%=machaine%>"/>

avec "machaine" une variable contenant "\\nomMachine\MaTete.jpg"

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.