1.11M Members

How to Execute JSP FIle

 
-4
 

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

 
0
 

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.

 
0
 

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

 
0
 

hai i am mahi
i am very new to jsp pls help me clear steps to run a jsp and tomcat server.

 
0
 

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:

Question Answered as of 5 Years Ago by jwenting, peter_budo and mahendirank
 
0
 

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

 
-1
 

3.expecting reply from u

how to execute the jsp file in web browser

 
0
 

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)

 
-1
 

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

 
0
 

If you are working on windows xp then go to the address below and then create a folder and place your .jsp files here.

C:\apache-tomcat-6.0.24\webapps

for example you created a folder named as strat and in it a file new.jsp
then go to the web browser and type this url-
http://localhost:8080/star/new.jsp

and its done.
bye

 
1
 

If you are working on windows xp then go to the address below and then create a folder and place your .jsp files here.

C:\apache-tomcat-6.0.24\webapps

for example you created a folder named as strat and in it a file new.jsp
then go to the web browser and type this url-
http://localhost:8080/star/new.jsp

and its done.
bye

and it will throw error because you named folder strat and in URL you are requesting star

Closing thread, no new valuable info added lately...

 
0
 

At first create a jsp file. then open tomcat server . After that go to that way.Tomcat->wab app-> then create a folder & given name your self.In that folder Create a folder as WEB-INF .Putyour jsp file & html file in the created folder that you given name. then http://localhost:8080/gayan1/name.jsp

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article