Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
hey guys, I'm realtively new to jsp, and I want to create java objects and use them later in the jsp code. Here's what I do: [CODE]<%! public static java.util.List attrTypesArray = new java.util.ArrayList(50); public static boolean myBool; attrTypesArray.add("aaaa"); pageContext.setAttribute("attrTypesArray", attrTypesArray); pageContext.setAttribute("myBool", myBool); myBool = attrTypesArray.contains("aaaa"); %> <c:out value='${myBool}'/>[/CODE] However, … |