tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Access Parameter
Date Tue, 13 Aug 2002 16:32:05 GMT
Can I use something like this in my jsp page (instead of a java sevlet) to 

get the parameter name?,
before that I set the parameter in my web.xml file like this:

      <param-name>parameter name</param-name>

String value =  getServletContext().getInitParameter("parameter name");

is it only works in a sevlet or will it work in a jsp page too???

thanks again 
Alex Tomita

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message