• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Anyone here edit JSP in Emacs?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If so, do you have it set up to highlight EL? Nothing I've come across so far manages this.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm afraid that EL didn't exist last time I did JSP editing in Emacs. Back then I was struggling with getting it to handle scriptlets properly.

I solved the scriptlet problem. I learned not to put logic on my web pages. So no scriptlets.

If you're proficient in ELISP, you might want to dig out the stuff that highlights shell script variables when editing in shell mode. The same general rules for highlighing "${VARIABLE}" expressions should be adaptable to "#{el expressions}".

Unless you're doing free-form EL on a webpage, however, you'll probably have your EL in quotes, and the quote highlighter would normally be given precedence. At that level, even heavyweight IDEs like Eclipse only do a so-so job.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic