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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JSP Initialisation/Initialization" Watch "JSP Initialisation/Initialization" New topic
Author

JSP Initialisation/Initialization

Graham Mead
Ranch Hand

Joined: Sep 28, 2001
Posts: 57
Hi Hope this is in the right forum. I am having problems getting initalisation parameters for a JSP. I have used WSAD to set up an initial isation parameter for my JSP Jsp1.jsp, it has created an entry in the web.xml file
<servlet>
<servlet-name>Jsp1</servlet-name<
<display-name<Jsp1</display-name<
<jsp-file</Jsp1.jsp</jsp-file<
<init-param<
<param-name<myInitial</param-name<
<param-value<Y</param-value<
</init-param<
</servlet<
However using config.getInitParameter("myInitial")in the JSP always returns null.
Has anyone else had these problem and sorted it out.
TIA Graham
Graham Mead
Ranch Hand

Joined: Sep 28, 2001
Posts: 57
Ooops that should read, problem still there tho!
<servlet>
<servlet-name>Jsp1</servlet-name>
<display-name>Jsp1</display-name>
<jsp-file>/Jsp1.jsp</jsp-file>
<init-param>
<param-name>myInitial</param-name>
<param-value>Y</param-value>
</init-param>
</servlet>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Initialisation/Initialization