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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP support in IIS?

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
I grabed two books, one on the Java2 Platform, and one on JSP , since I intend to get into Java platform, and it would also be useful knowledge to use the same language for scripting like I do with VBscript on ASP.

only problem is on my site (which is an NT domain running IIS4) being hosted by hostway, a .JSP doesnt seem to do anything a simple hello world problem leaves the screen blank, but you can view the source and see the <% ... %> and everything , which is also confusing because if it were pure HTML , you'd see even that on the screen.

so I was wondering do I need to contact my hosting provider, and have them install JSP support, or what?
Karl
kb244@kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)

 
two options learn VB or switch WEB hosts.
It wil probaby be easier on you to find a Host that has what you want rather than asking someone to jump ship.

Ask them, it won't hurt, but WEB hosting is a dime a dozen
I've had several in 2-3 years.
One offers one thing someone else has a better price, it changes as fast as the Internet.

DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Well I already know VB and ASP (since ASP is the main focus of my work life)

I have 3 domains being hosted

kb244.com - NT
kb244.net - Unix
dizix.net - Unix (got this one for my brother so he could publiczise his mp3 he writes.)

Now if NT is not an option (since not even a service pack to add JSP support, as I know PHP support is instalible least I think it was)

Then I Could probally try it on my Unix hosting , I am uncertain which server they use under Unix (probally Apache) but would that support JSP?
Karl
kb244@kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)

 
> Unix (probally Apache) but would that support JSP?

JSP support is available for Apache.

If you had a better understanding of JSP it might help. Here is a real short version.

First came 'Servlets'. The Servlet API and engines provide a 'thread' based platform for running Servlets. This was a giant improvement over CGI which creates a new process for each request. As well as thread based instances you get many intrinsic objects that encapsulate Web Server process data and operations. Things like 'sessions, request parameters, HTTP header support, response stream', etc.

Writing Servlets can be cumbersome (as are CGI programs) since you must use the stream to write everything to the browser:

response.write(&quot;<html><head><title>Hello</title></head><body>&quot;);

you get the idea.

So an ASP type model was developed 'JSP', which provides for the mixing of server code and HTML code.

A JSP engine compiles the JSP/HTML code into a Servlet, which is then of course run by the Servlet engine.

Hope this helps
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top