• Post Reply Bookmark Topic Watch Topic
  • New Topic

setting properties with jstl possible  RSS feed

 
KickMeTo Andy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i was wondering if it is possible to set a bean property with jstl.
Reading a property works fine with
<c ut value="${sessionScope.orderForm.id}" default="-1" />
is there a way to set the orderForm.id property that is in the session
context analog to the way i read the property, or do i have to
use a java scriplet or the jsp:useBean tag ??
thanks in advance,
Andreas
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use
<c:set var="name" scope="scope" value="expression"/>
Also, I am not sure whether your display name follows Javaranch naming policy.

[ August 14, 2003: Message edited by: Pradeep Bhat ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!