• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic