Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem while accessing "init, context" parameters through a Servlet

  Asked By: Kent    Date: Feb 16    Category: Java    Views: 806
  

im new to JSP, i have a problem with <init-param>
tag in web.xml

if i put <init-param> tag in web.xml & access
through the JSP(application.getInitParameter()) it
works fine, but i can't access the same using a
Servlet,

if i use getInitParameter() method in a Servlet it
always returns a null value..

can i access init,context parameters in Servlets
also??

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: