| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Q: Starting class at OAS with browser
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
![]() |
![]() |