An interesting way to do JSP, basically it switches to the proper mode
depending on where the point is.
Obtain multi-mode.el from
ftp://archive.cis.ohio-state.edu/pub/emacs-lisp/misc/
Put this into your .emacs
**Note you can use your prefered modes for both html and java
;;multi-mode
(autoload 'multi-mode
"multi-mode"
"Allowing multiple major modes in a buffer."
t)
(defun jsp-mode () (interactive)
(multi-mode 1
'html-mode
;;'("<%" java-mode)
'("<%" jde-mode)
'("%>" html-mode)))
(setq auto-mode-alist
(cons '("\\.jsp$" . jsp-mode)
auto-mode-alist))
--
Ted Guild
Software Developer
http://www.guilds.net
[EMAIL PROTECTED]