I'm just starting to learn JSP/JSTL. I've been developing JSP for almost 2 days now. and there is alot that I still don't understand Here is the code that I have:
<c:set var="location" value="C:\Upload_Location" />
<jsp:useBean id="Bean_Name" scope="page" class="Bean_Class" >
<jsp:setProperty name="upload" property="folderstore" value="${location}" />
</jsp:useBean>
Basically what I'm trying to accomplish here is to take the variable 'location' and set it as a value in the bean. Once I get this part working correctly, I will be using a choose tag that will take the value of a dropdown box and change the location depending on which item is selected.
Any help would be greatly appreciated.