aspose file tools*
The moose likes JSP and the fly likes how to read values of javascript button from .properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to read values of javascript button from .properties file" Watch "how to read values of javascript button from .properties file" New topic
Author

how to read values of javascript button from .properties file

James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35


When I do like this - I've got JSP exception.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60975
    
  65

Well, that's all JavaScript code, so it's unlikely that it's the cause of any JSP exception.

Perhaps you could post the exception?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35
Well it's JasperException
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60975
    
  65

Heh, I missed the EL expressions in the script (they look a lot like $())...

Not sure why they are not evaluating. If you simplify the page down to just the EL expressions, do they parse? (Determining if it's systemic, or page-specific.)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60975
    
  65

I assume that not and book are established scoped variables? (Though if they are not, it shouldn't error out.)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41465
    
  51
My guess would be that it's because "not" is an El keyword - that's what line 55 of the exception indicates.


Ping & DNS - my free Android networking tools app
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60975
    
  65

Doh! I missed that. I was going to say that the names were poorly chosen, but I missed the keyword conflict.

Good eye, Ulf!
James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35
It works! Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read values of javascript button from .properties file