Woodchuck,
That works unless you use something like StrutsTestCase which expects to
see a value web.xml file in the source code tree (before building the WAR
file). I assume that @REPLACE_WITH_WEB_FRAGMENT_HERE@ is in a place that
makes your web.xml XML invalid.
I used a regular expression filte
the beauty and arguably ugliness of ant (Yet Another Duality Of Life)
is that there are many ways to do the same thing. i simply use ant's
and tasks.
to load the web fragment file.
to replace the token i created in my web.xml with the entire
contents of the web fragment.
for example:
i
Woodchuck,
Thanks for the advice. Glad to hear someone has followed the road before
me.
I found this useful link as well:
http://www.artima.com/forums/flat.jsp?forum=121&thread=19915
Question: how do you handle the importing of the fragment into your
web.xml? Are you using and in Ant? I
i ran into the same problem as well.
what i can tell you is that because jspc generates different import
statements than tomcat, this is the reason why the generated web.xml
fragment is useful. this fragment basically maps the pre-compiled jsps
so that it when the jsp is requested your app will k
I have been looking into using the jspc ant task to pre-compile our
Struts-based application. In comparing the Java code generated by the
jspc task and the Java code generated by Tomcat 4.1.x there are some
differences, in particular the package names. Also, jspc wants to
generate the fraction o
5 matches
Mail list logo