This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes scriplets convertion in EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "scriplets convertion in EL " Watch "scriplets convertion in EL " New topic

scriplets convertion in EL

jaid shaik

Joined: Jan 18, 2013
Posts: 3

i am new to EL, can you help me for below code how to convert in EL:

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60804

If status is a scripting variable, you can't just convert the scriptlet in-place to EL. You need to convert the JSP to use scoped variables rather than scripting.

The second one makes no sense. Why would you emit the toString() of the servlet context?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: scriplets convertion in EL
Similar Threads
including webpage in jsp
JSP JSTL Custom Functions
Getting JSessionID using JSTL
TLD file
get session value in jsp