my dog learned polymorphism*
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 Java 8 in Action this week in the Java 8 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: 1506
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: 60077

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Initialization Parameter
Similar Threads
Struts Tiles Error
Regarding jspInit() overriding
Spring MVC - Url Handling Problem
jsp custom tag issues
Initialization Parameter in JSP