Ok, I've searched through the forum but haven't been able to find an answer
that works for me.
I'm trying to see if JBoss/Tomcat can read the standard Tomcat external <
Context > file.
So far I haven't had any success. This is what I'm trying. I define a simple
parameter in the < Context > file:
< Parameter name="mikeycontext" value="mikeycontext" / >
I then have a simple test.jsp page trying to get the value:
< %= pageContext.getServletContext().getInitParameter("mikeycontext") % >
So far whatever I do I always get null. From this I'm concluding the < Context
> file is not being read.
I have the webapp in an ear and the application.xml file defines the module:
< module >
< web >
< web-uri >jgallery.war< /web-uri >
< context-root >/jgallery< /context-root >
< /web >
< /module >
Now I've tried putting the < Context > file in many different places:
WEB-INF/context.xml
WEB-INF/jgallery.xml
META-INF/context.xml
META-INF/jgallery.xml
and no matter what I do the result is the same. The test.jsp page alwasy
returns null. Can someone help me out?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878944#3878944
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878944
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user