954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to run JSP using Tomcat & JCreator?

I'm creating a website as my college project which consists of HTML pages and JSP.
I've started writing JSP code, but don't know how to run it.
Can you tell me how to proceed after creating JSP file.
(i've created Login.jsp and login.html file. Gave
in login.html file.)
What next? How to run the files?
I have installed Tomcat and JCreator.

Please help, its very urgent...!
(is it possible without having to write XML file?)

nikk
Light Poster
38 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

You need to create a XML file to run the JSP file.You will get a sample file how to create an XML when you install Tomcat server

latha_nov
Newbie Poster
5 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

Thanks, but, now i'm using netbeans for the same purpose.
So, i don't need to use tomcat directly.
Thanks for your reply.

nikk
Light Poster
38 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

There is no direct link between JCreator and Tomcat, so if you want to run your project you have to compile it first that manually start or restart Tomcat. After that you will be able to see your changes.
On another hand NetBeans and some other IDEs provide Tomcat server build in that it has some advantages and disadvantages.
Personaly I prefer to have Tomcat separately from IDE even if it is integrated I feel that I have more controll over it, dunno why...

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

i am usung Netbeans in my proj..sorry.

rajmtech2010
Newbie Poster
1 post since Sep 2010
Reputation Points: 7
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You