You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Megan Ray <me...@prodigy.net> on 2000/07/26 20:50:23 UTC

Settings For anyone who wants to use HomeSite 4.5 for JSP development with Tomcat

To anyone who is interested - I did get the HomeSite browser option to work
with Tomcat.

Here are the settings:

Put your JSP pages in your application root    - i.e.  D:\myapp\www

Refer to your application in Tomcat ...\config\server.xml (per "Developing
Applications with Tomcat instructions - section 3.4) - i.e.

	<Context path="/myapp" docBase="c:\myapp\www"  debug="0" reloadable="true"
>
            </Context>

In HomeSite 4.5.1 - under Options (toolbar) - Settings - Browser - click on
checkbox for "enable server mappings"

Select "Add"   and setup your application  - i.e. "replace"  d:\myapp\www
with http://localhost:8080/myapp
Press OK to save your setting.

NOTE:   All of the directory references are case sensitive - use all
lowercase letters in your directory structure or double check names to make
sure correct. (Found this out the hard way :-) )

Make sure Tomcat is running - When you access your JSP pages in HomeSite
under the "browse" tab - you will be able to access them just as if you were
using the browser direct.

Hope this is helpful!  (Thanks again to Marcel for his help)

Megan Wertz Ray
megray@prodigy.net