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 / General / November 2006

Tip: Looking for answers? Try searching our database.

servlets and java application server

Thread view: 
mikael.liljeroth@gmail.com - 27 Nov 2006 12:40 GMT
Hi

I have written a servlet with a doGet method. I've compiled it with
javac.
I have installed Java ee sdk 5, and started the application server.
The server is up and running and I have created a couple of jsp pages
that work.
My question is, what should I do to be able to request my servlet from
ie or firefox?
The java ee sdk has created a folder \Sun\SDK\domains\domain1\ and I
guess I should
place something there.
The only thing I have is a class file with my servlet.
Do I need to put my servlet class file in a .war file, and if so, how
do I do that?
Manish Pandit - 27 Nov 2006 17:58 GMT
> Do I need to put my servlet class file in a .war file, and if so, how
> do I do that?

You can choose to put it in a war file, or leave it in within the
*standard* folder structure (i.e. within WEB-INF/classs of the context.
For more information on packaging a webapp, refer to
http://www.onjava.com/pub/a/onjava/2001/03/15/tomcat.html for a simple
walkthrough.

-cheers,
Manish


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.