🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.language
1 messages
1 total messages Started by Julien M�rivaux Mon, 25 Apr 2005 10:56
JSTL
#363
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads