Gathered words from an unknown geek. Based on observations and experiences, words
are born. Presented in forms of poems, essays and codes.
A silent lad transformed into a talkative chap in this hidden World Of Mine.
[Java + Struts 2 + Log4j]: Simple Multi Selections Checkbox
Differ from the usual, this tutorial will be about Java and its related frameworks, i.e Struts 2 and Log4j. I’ve been searching over the internet for something similar, but failed. Hence I have to explore myself. Finally, here it is, I’m sharing it with rest of the world.
The most important component here is Java and Struts 2, log4j is only for logging purpose, you may choose to use System.out.print() as well. Let’s begin.
We start off by configuring the file struts.xml. Add the following actions inside the package:
-
-
<action name="checkBoxView" class="com.mohdrashidi.blog.sources.Checkbox">
-
<result name="input">/jsp/checkBox.jsp</result>
-
<result>/jsp/checkBox.jsp</result>
-
</action>
-






