File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63852

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: scriplets convertion in EL
It's not a secret anymore!