wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60742
    
  65

Read this article to find out how JSP works.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling JavaScript using EL
 
Similar Threads
JSF binding conversion
Having Problems with Jquery.
Cannot see the JavaScript code I wrote when I hit script tab on firebug :(
Getting javascript error while closing ActiveXRecordset object
XML DOM is not working