Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Support Requests:
htmlArea WITH TOMCAT



brian662
Novice

Feb 11, 2005, 7:37 AM


Views: 26810
htmlArea WITH TOMCAT

am using the HTMLarea 3 on an apache/resin server on a unix box and all works OK. I want to demo the software I have on a laptop which runs on XP with an old tomcat 3.0. The problem is that I get trhe following error



'HMTLarea' is undefined



<script type="text/javascript">
_editor_url = "\htmlarea";
_editor_lang = "en";

</script>

<script type="text/javascript" src="\htmlarea\htmlarea.js"></script>

..... standard HTML code ... (WITH frmBody textarea)

<script type="text/javascript" defer>
HTMLArea.replace("frmBody");

</script>

Thanks



Brian



in2dev
New User

Feb 15, 2005, 3:57 AM


Views: 26772
Re: [brian662] htmlArea WITH TOMCAT

You should change your paths like this:

_editor_url = '<%=request.getContextPath()%>/path_to_your_workspace/htmlarea/';