Forum Moderators: open

Message Too Old, No Replies

Dreamwever MX design view breaks with JSP include

JSP Code breaks view in design mode

         

cjobson

1:58 pm on Aug 2, 2005 (gmt 0)

10+ Year Member



Hello --

I've been using Dreamweaver for quite a while and consider myself pretty proficient, but am having a problem working with JSP (something that is new to me).

The entire site must include this line:
<%@ include file="/include/glossary_include.jsp" %>
And because of the nature of that page (including an XML import to display glossary terms on mouseOver for multiple objects) I can't further bury the line in a normal ssi.

The problem is that the line completely breaks down the display in DW Design view. This really isn't a problem for myself or my team, but when these pages are updated by other people in the company, it would be great to allow them to view the pages in Design View.

Is there a setting in Dreamweaver to ask the display to ignore the line of code?

Thanks,
Christopher

cjobson

2:13 pm on Aug 2, 2005 (gmt 0)

10+ Year Member



Additionally the tag *must* begin with

"<%@" and end with "%>"

I noticed that DW is intelligent enough to treat it as a normal tag if end with "@%>" but that's symantic-hufaloo for Java and the page breaks.

cjobson

2:50 pm on Aug 2, 2005 (gmt 0)

10+ Year Member



Hey look at that-- we've fixed the problem. It wasn't the tag, but some of the code within it that was causing our pages to break.