This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp init parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp init parameters" Watch "jsp init parameters" New topic

jsp init parameters

Sharma Anjali
Ranch Hand

Joined: Feb 22, 2005
Posts: 63
i am trying to retreive init paramters in my jsp.
Here's the DD


and this is in the jsp page

<%= config.getInitParameter("email") %>

But this returns null.
Plz tell me where am I doing it wrong?
srinath anand
Ranch Hand

Joined: Nov 20, 2001
Posts: 30
Hi Anjali,
You need this in your web.xml also:


I agree. Here's the link:
subject: jsp init parameters
Similar Threads
init parameter from jsp
servlet initialization in JSP
Initializing JSP.
how to get jsp init params
Why this code to get Init Param in JSP not work?