Julio Macedo wrote:
1. Do I really have to compile a servlet manually using javac (or using
another tool) or may I save it in a specific folder so Tomcat compiles
it to me?

You have to do this, Tomcat won't do it for you.

2. Do I really have to register my servlets in web.xml file or this
process can be done automatically by Tomcat?

Yes, you have to do this as well.

When I did the test with jsp pages, it was not necessary compile or
register the file (Tomcat did everything to me) so I expect the same
with servlets.

Putting it *very* simply, JSPs are a friendly way to write servlets. A big part of this is not having to compile them or putting mappings in web.xml.


Thanks,

Julio

However, all is not lost. There are plenty of IDEs and plug-ins for IDEs out there that will do all of this for you and deploy your application to your server of choice as well.


I don't want to start a long thread on which is best so I won't mention my personal favourite. Have a look at the docs/web-site for your IDE see what is available.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to