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

compiling first JSP program

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
i am a beginner to java server pages(JSP) and i don't know how to compile, and run the first program.
Please tell me where to store the jsp program. and how it will loaded on the internet.

with regards
Ish kumar
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
first of u install any one
webserver such as Tomcat, jws, ...
or application server such as weblogic, j2ee

i prescribe sjsas(sun java system application server) pe 8.0 from sun java site.
write jsp file,
deploy it using deploytool.
if u have any doubt, send a query
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Supposed you have installed and configure correctly the webserver (eg: Apache), application server (eg: Tomcat, JBoss, Resin, etc) and J2SDK than just fireup your browser and type: http://127.0.0.1:8080/MyFirstJSP.jsp

The 8080 is the standard port for Tomcat.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please don't post the same question in multiple forums, it creates duplicate convversations and wastes the time of the people trying to help you.

I would have moved this to the JSP forum for you, but you already posted there, so I'm going to close this copy and anyone wishing to help can see the version here.

Thanks,
Dave
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I'm not really a bad person, just trying to keep things running smoothly.
Welcome to the Ranch, Ish Kumar!
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
"Ramakrishnan",
we're pretty light on rules here at the JavaRanch, but one that we do take seriously is the rule on display names. You can read it here.

Basically we require all display names to be two words: your last name, a space, then your last name. Obviously fictitious names are not allowed.

Please update your profile and fix your display name, since accounts with invalid display names get deleted, often without warning!

thanks,
Dave
 
Something about .... going for a swim. With this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic