How to Execute JSP FIle

Thread Solved

Join Date: Dec 2006
Posts: 56
Reputation: staneja is an unknown quantity at this point 
Solved Threads: 1
staneja's Avatar
staneja staneja is offline Offline
Junior Poster in Training

How to Execute JSP FIle

 
0
  #1
Dec 8th, 2006
I am very new to JSP language and i ahve worked a lot on JAVAlanguage and i have configured my Tomcat Server also and its running fire

I would like to know about the steps that i am required to follow to Execute my JSP File.

1.Please tell me in which directory i am required to save me JSP File
2.What is the URL i need to Type to Execute my JSP FIle
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: How to Execute JSP FIle

 
0
  #2
Dec 8th, 2006
Tomcat comes with some rather nice examples which would answer your questions.

You will also want a GOOD MODERN book about JSP, like the latest edition (3rd edition) of O'Reilly's Java Server Pages book.
You'll also want something on good web application design (to avoid falling into the trap of putting business logic into your JSPs.
O'Reilly's Head First Servlets and JSP is a good choice for that.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 56
Reputation: staneja is an unknown quantity at this point 
Solved Threads: 1
staneja's Avatar
staneja staneja is offline Offline
Junior Poster in Training

Re: How to Execute JSP FIle

 
0
  #3
Dec 11th, 2006
Originally Posted by jwenting View Post
Tomcat comes with some rather nice examples which would answer your questions.

You will also want a GOOD MODERN book about JSP, like the latest edition (3rd edition) of O'Reilly's Java Server Pages book.
You'll also want something on good web application design (to avoid falling into the trap of putting business logic into your JSPs.
O'Reilly's Head First Servlets and JSP is a good choice for that.
Well I got my answer and I have started Executing JSP Programs.....

What I did is I just saved my Programmed in JSP folder and then I started my tomcat server from Start menu and then I wrote following link for my hello.jsp file in Web browser and it worked..

http://localhost:8080/examples/jsp/hello.jsp



Well I would like to say knowledge not only brings Confidence it brings Smile also/.......me I am so happy....thank you
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1
Reputation: mahendirank is an unknown quantity at this point 
Solved Threads: 1
mahendirank mahendirank is offline Offline
Newbie Poster

Re: How to Execute JSP FIle

 
0
  #4
Feb 22nd, 2009
hai i am mahi
i am very new to jsp pls help me clear steps to run a jsp and tomcat server.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,205
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 486
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: How to Execute JSP FIle

 
0
  #5
Feb 22nd, 2009
You have to have installation of Java and Tomcat on your machine. Tomcat should be setup either as in this simple example or this more specific way. Then have look at first deployment.
To learn more about Java and web development have look at these resources:
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 1
Reputation: satishbaisa is an unknown quantity at this point 
Solved Threads: 0
satishbaisa satishbaisa is offline Offline
Newbie Poster

Re: How to Execute JSP FIle

 
0
  #6
Aug 9th, 2009
Originally Posted by staneja View Post
I am very new to JSP language and i ahve worked a lot on JAVAlanguage and i have configured my Tomcat Server also and its running fire

I would like to know about the steps that i am required to follow to Execute my JSP File.

1.Please tell me in which directory i am required to save me JSP File
2.What is the URL i need to Type to Execute my JSP FIle
3.expecting reply from u
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: ravi0786 is an unknown quantity at this point 
Solved Threads: 0
ravi0786 ravi0786 is offline Offline
Newbie Poster

how to execute the jsp file in web browser

 
0
  #7
21 Days Ago
Originally Posted by satishbaisa View Post
3.expecting reply from u
how to execute the jsp file in web browser
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,205
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 486
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #8
21 Days Ago
Originally Posted by ravi0786 View Post
how to execute the jsp file in web browser
Read post 5 where I explain what you need for Java web development. If you have your environment already set up and having difficulties you need to provide explanation what you did and where the whole process is getting stacked (including any error messages you may get)
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: wasifgc is an unknown quantity at this point 
Solved Threads: 0
wasifgc wasifgc is offline Offline
Newbie Poster

Jsp file run method

 
-1
  #9
20 Days Ago
Originally Posted by satishbaisa View Post
3.expecting reply from u
Hy Friend.Please Download the Netbeans For JSP .GO to the web site of java.sun and download the netbean with Glass fish server.This is Pakage is install automatically.and open Project in the netbean and u have easly find the run button there.then ur pages will be run.By Software Engineer M wasif From Pakistan City Feroza
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC