aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JSP" Watch "JSP" New topic
Author

JSP

Raghupathi Kamuni
Greenhorn

Joined: Oct 16, 2000
Posts: 1
Question:My QUESTION IS IN JSP: When I gave initialization parameters to JSP in config servlets properties file and accessed the JSP, i got null values,it is unable to pickup the initArgs from the properties file.
The code goes like this
<%@ page language="java" >
<%= config.getInitParameter("name")>
WEBSERVER:LWS-2.2.1
OS:windows95/98
can anybody please clear my doubt HOW TO GIVE INITIALIZATION PARAMETERS IN SERVLET PROPERTIES FILE AND HOW TO RETRIEVE THAT VALUES IN JSP?
MyEmail:raghukamuni@yahoo.com
thanks,
Raghupathi kamuni
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP