Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

compiling first JSP program

 
Ish Kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
Ramakrishnan Ponmudi
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • 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
 
Sanjaya Sugiarto
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • 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.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
    Bookmark Topic Watch Topic
  • New Topic