aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Calling JavaScript using EL" Watch "Calling JavaScript using EL" New topic
Author

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
Author
Rancher

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
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Read this article to find out how JSP works.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling JavaScript using EL