|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi everyone,
I have to convert a java based website to ASP, thing is I can't get the old java website to run ![]() I have installed - Java 1.3 to this folder : c:\jdk1.3.1_18\ - Apache Tomcat 4.1 Server to this folder : C:\Program Files\Apache Group\Tomcat 4.1 - MySQL 4.??? In this folder C:\Program Files\Apache Group\Tomcat 4.1\webapps I have got a folder called easydoc in that folder there are these folders: - src - webapp and these 2 files - easydoc.iws - easydoc.ipr in the SRC folder there is a another folder called ED and in that folder there are some files like this Admin.java Client.java and these files contain what seems to me Java code. then the webapp contains a folder WEB-INF which contains a css and a index.html file. there is also another folder, TEMPLATES that contain .VM files and they contain some html and code like this Code:
#if ($isclient) #if ($isactive) <td class="Normal"> <a class="LightLinkSmall" href="ed.HomeServlet">Home</a></td> <td class="Normal"> <a class="LightLinkSmall" href="ed.CreateControlListServlet">New Control List</a></td> <td class="Normal"> <a class="LightLinkSmall" href="ed.ViewControlListsServlet">Review Control Lists</a></td> <td class="Normal"> <a class="LightLinkSmall" href="ed.ViewClientDeliveriesServlet">Delivery Confirmations</a></td> #end <td class="Normal"> <a class="LightLinkSmall" href="ed.ClientHelp">How it works</a></td> #elseif ($isadmin) #if ($isactive) <td class="Normal"> <a class="LightLinkSmall" href="ed.ViewAdminDeliveries">Delivery Confirmations</a></td> #end what I have done now is copy the content of the WEBAPP folder to the easydoc root, but when I type http://localhost:8080/easydoc/index.html I get a link button, but when I click on it, I get this error: Code:
type: Status report message: /ed/servlet/ed.HomeServlet description: The requested resource (/ed/servlet/ed.HomeServlet) is not available. here is the code for the index.html page: Code:
<html>
<head>
<title>Easydoc</title>
<script>
//document.location.replace("/ed/servlet/ed.HomeServlet");
</script>
</head>
<body>
<p>Go to <a href="/ed/servlet/ed.HomeServlet">EasyDoc home page</a>
</body>
</html>
but there is no ed/servlet folder and the closest thing I can see that this is this file C:\Program Files\Apache Group\Tomcat 4.1\webapps\easydoc\src\ed\HomeServlet.java I know this is a long thread, and al ot of explaining, but I am at a loss. Any help would be GREATLY appreciated. thanx alot. Jako
__________________
Look! Its a ShemZilla ![]() ![]()
|
|
#2
|
|||
|
|||
|
Well, this doesn't have anything at all to do with IIS.
![]() My guess is you need to do some apache configuration in httpd.conf or somewhere in Tomcat, but I've never used either on windows.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
yeah I know its not the best place, but because its also a
server, I though I might take a chance ![]() I think the best way will be is to extract the html from the VM files, and convert the code from the .java files. Its going to be a bit more work, but with a lot less hassle ![]() Thanx for looking at the thread anyway Doug, really appreciated. Cheers Jako |
|
#4
|
|||
|
|||
|
BTW, Have you verified the Apache server works for basic html?
I downloaded Apache & Tomcat some time ago but haven't gotten around to doing much in the Java world except to set up and use Eclipse. PHP and Linux are taking up my free time. |
|
#5
|
||||
|
||||
|
Doug, it works fine with normal HTML yes, I think it has to do
with the parsing of the VM files, but not too sure. But its going along nicely the way I am doing it know I created thewindows based app myself, so I know the in's and out's of the app ![]() |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Java based website setup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|