Ok, I committed the code, includes work, and so do tag libraries, so
it is usable. One thing to note about includes, relative paths will
not work, because a relative path can resolve to multiple files.
because multiple files can be under the same path in different jars,
it is a good idea to place jsps inside unique paths, like:
<action name="HelloWorld" class="example.HelloWorld">
<result type="embeddedJsp">org/apache/struts2/jsps/simple0.jsp</result>
</action>
Also, java 6 is required. The code uses jasper 5, I gave a try to 6
but was giving me trouble and I was out of beers at home, so my will
was weak ;)
musachy
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]