This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Initialization Parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Initialization Parameter

Astha Sharma
Ranch Hand

Joined: Oct 15, 2011
Posts: 245

This is my JSP code-

This is my web.xml file-

JSP page is resulting output as-

Your email id : null

Why is it giving null? Please help...

Astha - OCPJP 6 (90%)
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Try creating a jspInit() method and retrieving the values there.

So much trouble in the world -- Bob Marley
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60765

Please continue any discussion in your other topic on this matter.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Initialization Parameter
Similar Threads
jsp custom tag issues
Initialization Parameter in JSP
Spring MVC - Url Handling Problem
Regarding jspInit() overriding
Struts Tiles Error