Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to save class files to run servlets?

 
ramesh kumar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic