•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 374,174 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,464 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 432 | Replies: 3 | Solved
![]() |
•
•
Join Date: Mar 2008
Posts: 94
Reputation:
Rep Power: 1
Solved Threads: 9
Is is possible to clear the value of a bean using the jsp:setproperty tag?
i have tried
but it didnt work.
Please help!
i have tried
<jsp:setProperty name="MyNameBean" property="subscriberName" value="" />
but it didnt work.
Please help!
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,588
Reputation:
Rep Power: 18
Solved Threads: 187
•
•
Join Date: Mar 2008
Posts: 94
Reputation:
Rep Power: 1
Solved Threads: 9
I would like to clear the value of bean.
In the middle of my application the session bean gets set. at the end of my application i would like to reset the bean value to null or nothing, clear it, or remove it whatever is the correct wording.
My app is using ajax, so i would like to refresh the main page, and reset the bean.
So if i refresh the page, and using jsp:getproperty, nothing must be returned.
I hope i was clear enough, and didnt confuse u even further.
In the middle of my application the session bean gets set. at the end of my application i would like to reset the bean value to null or nothing, clear it, or remove it whatever is the correct wording.
My app is using ajax, so i would like to refresh the main page, and reset the bean.
So if i refresh the page, and using jsp:getproperty, nothing must be returned.
I hope i was clear enough, and didnt confuse u even further.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Other Threads in the JSP Forum
- Previous Thread: image upload and download in mysql using usp
- Next Thread: what do these tags stand for?



Linear Mode