File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Calling JavaScript using EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Calling JavaScript using EL" Watch "Calling JavaScript using EL" New topic

Calling JavaScript using EL

Ed Carrington
Ranch Hand

Joined: Oct 11, 2007
Posts: 77
I am trying to call a JavaScript function using EL.
My below attempt outputs the following exeption:
The function dateInfo must be used with a prefix when a default namespace is not specified
Please advise.

David Newton

Joined: Sep 29, 2008
Posts: 12617

EL runs on the server; JS runs on the client. It's not going to work.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Read this article to find out how JSP works.

[Asking smart questions] [About Bear] [Books by Bear]
Consider Paul's rocket mass heater.
subject: Calling JavaScript using EL
It's not a secret anymore!