Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP ME (URGENTLY)

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HOW DO JSP WORKS ?
I have windows 98, javawebserver1.1.3, jdk1.3, but as I run examples given in jws1.1.3 from the main page i.e. http://localhost:8080/file.jsp but after running the file the output is only html is showed, no jsp output is there.
WHY IS THAT SO.
WHAT JSP SETTINGs HAVE TO BE CONFIGURE ?
DO JSP require any other Specific Web Servers for windows 98.
WHAT SPECIFIC CLASSPATH SHOULD BE SET FOR RUNNING JSP?
DOES JSP FILE HAVE TO COMPILIED .
IF YES, THEN HOW AND WITH WHAT?
HELP ME!
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP is server-saie component, you use it to output appropriate formats, HTML, WML, etc..
TO run JSP, you need some type of application server that supports JSP specificatoin, like Tomcat, JRun, WebLogic, etc.
As far as classpath settings, it depends on the app server you are using.
No, you don't need to compile JSP (you can if you choose to do so). App server usually compile the JSP page into servlet on the first time when someone request the page.
Anyway, I recommend you to get a book on this subject, many of your question can be answered probably in very first chapter of any JSP Servlet books.
 
Syed Hussain
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, try putting your jsp file in the directory "..JavaWebServer2.0\public_html"and then start the server by running the following application "..\JavaWebServer2.0\bin\httpd.exe".Hope this will solve the problem.If not send some details.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Raman",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
The name "Raman" will soon be turned off, so choose a new one as soon as you can.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic