Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Q: Starting class at OAS with browser

Q: Starting class at OAS with browser

From: <hrappold_at_hotmail.com>
Date: Tue, 22 Jun 1999 14:01:17 GMT
Message-ID: <7ko4v4$9ib$1@nnrp1.deja.com>


 Hello,

I try to start a class (JWeb cartridge) which is on the Oracle Application Server 4.0 by typing it's URL into the browser. But instead of outputting HTML code to the window, the browser wants to save the class I started as exe file.

The url is as follows

http://host:port/<virtual_path_to_class_files>/DisplayTemplate

and the DisplayTemplate.java file of my class looks like this:
.
.

class DisplayTemplate {

	public static void main (String args[]) {
	HtmlFile hfile = new
HtmlFile("/<virtual_path_to_html_files>/temp.htm");
	hfile.print();

.
.

does anyone know why the browser attempts to save it as exe file instead of displaying the HTML File ?

thanks in advance
hubert

--
Hubert Rappold
UHC Grapos Graz
http://www.handball.at

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Tue Jun 22 1999 - 09:01:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US