🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #363

JSTL

#363
From: Julien M�rivaux
Date: Mon, 25 Apr 2005 10:56
20 lines
1580 bytes
 hi my lordz,

Im learning JSP/JSTL and i want to do something like that :

<c:set var="name1" value="value1" scope="page" />
<c:out value='${pageScope.name1}' />

<form name="formulaire"
action="http://localhost:8080/ThirdApplication/index.jsp" method="get">
<input type="submit" value="Add" onclick=" <c:set var="name1"
value="value1Changed" scope="page" /> ">
</form>

<c:set var="name1" value="value1" scope="page" />
<c:out value='${pageScope.name1}' />

I want to know if it is possible to emmebed a JSTL command into an "onclick"
event to change the value of a variable ?

Thanks by advance and best regards.
Technical Details
Message-ID: <426ccced$0$828$7a628cd7@news.club-internet.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!grolier!v.t-online.fr!t-online.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,a2149d49deedaf72,start
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!grolier!v.t-online.fr!t-online.fr!not-for-mail
Reply-To: "Julien M�rivaux" <julien.merivaux@club-internet.fr>
From: "Julien M�rivaux" <julien.merivaux@club-internet.fr>
Newsgroups: borland.public.jbuilder.java.language
Subject: JSTL
Date: Mon, 25 Apr 2005 12:56:45 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 22
Message-ID: <426ccced$0$828$7a628cd7@news.club-internet.fr>
Organization: Club-Internet / T-Online France
NNTP-Posting-Date: 25 Apr 2005 10:56:45 GMT
NNTP-Posting-Host: 212.194.89.181
X-Trace: 1114426605 news.club-internet.fr 828 212.194.89.181
X-Complaints-To: abuse@club-internet.fr