Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

EL expression language. How to get init JSP params

843840Jul 26 2009 — edited Jul 27 2009
Hi,

I would like to get init JSP params using EL Expression. I can get the Context Init params in a JSP with EL but i can see how to get Init JSP params using EL.

I have this DD fragment:
<servlet>
		<servlet-name>indexpage</servlet-name>
		<jsp-file>/index.jsp</jsp-file>
		<init-param>
			<param-name>myname</param-name>
			<param-value>myvalue</param-value>
		</init-param>
	</servlet>
How can i get this jsp params in a JSP using EL??, for example if all my JSPs are configured with scripting invalid ... How can i get the init JSP params??

Thanks in advance.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 24 2009
Added on Jul 26 2009
3 comments
663 views