you must perform following tasks before using J-ASP to migrate ASP applications:
Choose Start > Programs > J-ASP > Conversion.
The Conversion GUI appears on Screen:
In the Application Root field, enter the path of the directory that contains
the ASP application or click Browse to select this directory, as follows:
In the Output Directory field, enter the path of a directory to store Jsp/Servlet files generated by J-ASP or click Browse to select an existing directory.
If you want to migrate from ASP to Servlet, please mark the 'ASP to Servlet' option, otherwise mark the 'ASP to JSP' option.
If necessary, specify the virtual path and virtual directory used by the ASP application.
An ASP application can use virtual directories either by specifying them in URLs or by
using an include directive with the virtual attribute. The following example shows a virtual
directory specified in an include directive:
Click 'Convert', the converting process starts, J-ASP displays the information
in a text box and additionally saves the information to <J-ASP>\logs\jasp.log
At the same time, J-ASP generates a migration report file, which shows the lines of ASP file, total files of ASP application and ActiveX/COM's name etc. if you want to use Netcoole migration service, the migration report is very helpful for us to estimate your ASP application.
J-ASP also create the WEB-INF folder in the Output Directory, and copy jasp.jar and configuration files of J-ASP into WEB-INF folder.
Following listing illustrates the Output Directory structure:
Resource files(*.htm, *.jsp)
For deplying the Application, please pack the all files in Output Directory to a Web ARchive file(.war) using jar
utitlity. Following command is the jar's usage:
jar -cvf <myapp>.war .
For example: I assume the Output Directory is d:\test\, please change directory to d:\test\ in DOS prompt. and type following command:
jar -cvf test.war .
Then you can deploy the test.war to the Web Server.
The .WAR file can be deployed on Apache Tomcat, JBoss, WebSphere, WebLogic and OC4J etc.
Please see "Deploying the Migrated Application".
If you have any questions, please feel free to contact firstname.lastname@example.org.