Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP using Cold Fusion server with IIS 1

Status
Not open for further replies.

oaklandar

Technical User
Feb 12, 2004
246
US
Is it possible to create a JSP page on a Cold Fusion IIS server?
I am currently building Cold Fusion pages and now would like to put some jsp on this IIS server where my Cold Fusion is located.

Any package name or something I need to call so I can display a JSP?

firstpage.jsp
Code:
<html>
<head>
	<title>Untitled</title>
</head>

<body>
<% outprintln("Hello world.  First JSP" %>

</body>
</html>

I get error message saying "no method outprintln is found". Please advise.
 
is outprintln the function for writing or is it document.write? It's been about a zillion years since i looked at jsp, and even then it wasn't much. either way you don't close your function call
outprintln("Hello world. First JSP")

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Sorry misprint on my part. I did have it closed in the page but misprinted on my post. It still doesnt work and says outprintln is not found. I also tried outprint and same problem so I assume I need some sort of import statement? Please advise.
 
try setting a variable and using the short hand to output
<%= myVar %>

and for some reason i vaguely remember println() being a method of out so maybe "out.println()"

I'm taking some serious jabs in the dark here, check the jsp forum for actual syntax. last time i tried jsp with my cf server it said something about licensing problems in the error so that was the end of it.

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Thanks that was the solution:

and for some reason i vaguely remember println() being a method of out so maybe "out.println()"

 
great! :)

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
-Douglas Adams (1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top