Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2006

Tip: Looking for answers? Try searching our database.

I need a help

Thread view: 
rebi - 09 Nov 2006 13:08 GMT
Hai!

I have got a apache tomcat 5.5. How to run servlet on apache5.5?.
If we use html file to give action to the servlet, where we store the
html file and the java file.?.
How to give action to java file?.
How to set Environment Variable?.(I have set JAVA_HOME ,
c:\jdk1.5.0_05)
I have to set the set path=c:\jdk1.5.0_05\bin and set
classpath=c:\apache\tomcat5.5\common\lib\servlet-api.jar
But I can't run the servlet programe?.
Lew - 11 Nov 2006 18:46 GMT
> Hai!
>
[quoted text clipped - 7 lines]
> classpath=c:\apache\tomcat5.5\common\lib\servlet-api.jar
> But I can't run the servlet programe?.

http://tomcat.apache.org/tomcat-5.5-doc/index.html

First you install Tomcat.  Then you start Tomcat.  Then you "deploy" a web
application to Tomcat in the "webapps/yourapp/" subdirectory of the
TOMCAT_HOME (a.k.a. CATALINA_HOME) directory.  The "deployment descriptor", a
file located at "yourapp/WEB-INF/web.xml" under Tomcat, controls how the
application works with Tomcat.  Then you use a browser to go to the Tomcat
server to access the application using the HTTP protocol via a URL similar to

http://yourhost:8080/yourapp/
.

- Lew


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.