• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

hi..how to run jsp on JWS2.0

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi am new to JSP, i am using JWS2.0, i have coded with servlets and know how to run servlets..
but can anyone provide links or help as to how to run a simple jsp code..
consider my jsp file to include only this code <%= new Date()%> along with html tags.. then
first please tell me how i compile a jsp file,where to store in the jws file hierarchy...
secondly..how do i access the file from http:\\localhost:8080\(what should i type)..
i tried searching the documentation ..but only infor as to how to run servlets..
please help..
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If JWS2.0 refers to what I think it does, you are using extremely old technology.

I recommend upgrading to Tomcat 4.1.29, get it from:
http://jakarta.apache.org/tomcat
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi karthik,
even now u using JWS2.0 put ur jsp file in public_html directory and simply call http://localhost:80/urfilename.jsp
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic