<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>My Computer: Windows XP, Java:1.5</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2>(1) install MgServerSetup-2.0.0.exe</FONT></DIV>
<DIV>(2) install MgWebServerExtensionsSetup-2.0.0.exe</DIV>
<DIV> Select "Bundled Configuration" ---> Java</DIV>
<DIV>(3) Download Sheboygan.mgp from <A
href="http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp">http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp</A>.
And put it to "MapGuideOpenSource\Server\Packages"</DIV>
<DIV> </DIV>
<DIV>(4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by
Administrator, admin</DIV>
<DIV> load package:Sheboygan.mgp succeeded.</DIV>
<DIV> </DIV>
<DIV>(5) Visit: <A
href="http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp">http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp</A></DIV>
<DIV> Just like this:</DIV>
<DIV> </DIV>
<DIV> <%@ page
import="org.osgeo.mapguide.*"
%><BR> <%@ page
import="java.util.*"
%><BR> <%@ page
import="java.io.*"
%><BR> <%@ page
import="java.text.*"
%><BR> <%@ page
import="javax.servlet.jsp.*"
%><BR> <%@ page
import="javax.servlet.http.*"
%><BR> <%@ include
file ="utilityfunctions.jsp"
%><BR><BR> <!DOCTYPE
HTML PUBLIC "-//W3C//DTD HTML 4.01
Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd"></DIV>
<DIV> </DIV>
<DIV>(6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add
"JkMount /mapguide2008/javaviewersample/* worker1" at the end of
file.</DIV>
<DIV> restart apache. Visit: <A
href="http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp">http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp</A></DIV>
<DIV> Just like this:</DIV>
<DIV>
<%--<BR>
-Copyright (C) 2004-2006 Autodesk,
Inc.<BR> -This
library is free software; you can redistribute it
and/or<BR>
-modify it under the terms of version 2.1 of the GNU
Lesser<BR>
-General Public License as published by the Free Software
Foundation.<BR><BR>
-This library is distributed in the hope that it will be
useful,<BR>
-but WITHOUT ANY WARRANTY; without even the implied warranty
of<BR>
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU<BR>
-Lesser General Public License for more
details.<BR><BR>
-You should have received a copy of the GNU Lesser General
Public<BR>
-License along with this library; if not, write to the Free
Software<BR>
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA<BR>
--%><BR><BR> <%@
page import="org.osgeo.mapguide.*"
%><BR> <%@ page
import="java.util.*"
%><BR> <%@ page
import="java.io.*"
%><BR> <%@ page
import="java.text.*"
%><BR> <%@ page
import="javax.servlet.jsp.*"
%><BR> <%@ page
import="javax.servlet.http.*"
%><BR> <%@ include
file ="utilityfunctions.jsp" %></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>My Englis is very poor. Would you like give me some help?</DIV>
<DIV>Thanks a lot.<BR><BR><BR></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2008-04-01
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>messagesky</SPAN>
</FONT></DIV></FONT></BODY></HTML>