Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 11th, 2006, 12:38 PM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
Unhappy Java based website setup

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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="LightLinkSmall" href="ed.HomeServlet">Home</a></td>
	  <td class="Normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="LightLinkSmall" href="ed.CreateControlListServlet">New Control List</a></td>
	  <td class="Normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="LightLinkSmall" href="ed.ViewControlListsServlet">Review Control Lists</a></td>
	  <td class="Normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="LightLinkSmall" href="ed.ViewClientDeliveriesServlet">Delivery Confirmations</a></td>
	#end
	<td class="Normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="LightLinkSmall" href="ed.ClientHelp">How it works</a></td>
  #elseif ($isadmin)
	#if ($isactive)
	  <td class="Normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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



Reply With Quote
  #2  
Old April 11th, 2006, 05:36 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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

Reply With Quote
  #3  
Old April 12th, 2006, 02:28 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
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

Reply With Quote
  #4  
Old April 12th, 2006, 06:46 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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.

Reply With Quote
  #5  
Old April 13th, 2006, 02:23 AM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106757 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
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 the
windows based app myself, so I know the in's and out's of the app

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Java based website setup


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT