Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes where to save class files to run servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "where to save class files to run servlets?" Watch "where to save class files to run servlets?" New topic
Author

where to save class files to run servlets?

ramesh kumar
Ranch Hand

Joined: Nov 16, 2000
Posts: 32
Hi
I 've been developing servelet programs and I face problems when
I try to run it.
So far I save the compiled class files in c:/Jawa_web_server/servlet .Is that ok?
and one more thing is If I run the servlet for the first time it works as expected. But after modifying the code, and pasting the
the new class file into server, still I get the same old coding results. That is the modification doesn't works.
Please help me.
parvinder
Greenhorn

Joined: Dec 29, 2000
Posts: 1
Yes you are doing the correct method.One has to transfer the class file to the "servlet" directory of the JavaWebServer.
As for your second question,
it is necessary that you have to compile each time you make
any changes in source-code and transfer the new class file to the
servlet directory.
[This message has been edited by parvinder (edited December 31, 2000).]
[This message has been edited by parvinder (edited December 31, 2000).]
ramesh kumar
Ranch Hand

Joined: Nov 16, 2000
Posts: 32
Thanks pal.
I am using Kawa editor.
Is it possible to change the compiler options so that the compiled class files are stored in web server?.
I am compiling the source code each and everytime I do some modifications, ever then the modifications doesn't comes into effect.
what may be the prob?
regards
Ramesh
------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where to save class files to run servlets?