If i put the following code in a servlet, everything is fine. When i put it
in a jsp, it won't show anything at all..../me doesn't get it....
The jsp uses a <%@ include file="system/top.jsp"%> before and a <%@ include
file="system/end.jsp"%> behind the code, maybe that's it?
Oh, and btw, the app is running under tomcat and the web.xml is correct (the
servlet works).
Enumeration enum = getServletConfig().getInitParameters();
if (enum != null){
while(enum.hasMoreElements()){
String param = (String) enum.nextElement();
out.println("Broeha! InitParameter: " + param + " is " +
getInitParameter(param));
}
else{
out.println("Too bad, didn't work, go play with your Vx!");
}
}
Any idea's? TIA!
Michiel;
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets