JSP / servlet support
Hi all,
First of all,
If this question is not supposed to be posted here, please advise me where to put it...
I am new to IDEA. I am basically a web developer. I can not configure IDEA to work with servlets. I am so used to working with Sune ONE Studio. I have not been able to compile any servlet. I have configured IDEA to work with web applications but apparently it can not detect any servlet classes. I keep getting all this compiling errors (cannot resolve symbol). I am working with Tomcat 4.1. I know that this version is not supported for debbuging. I don't want to debug. I just want to get "code couching" and being able to compile my servlets / jsp pages. Is there anything else I need to configure in IDEA to get it working? Can I work in it without a src directory? Just like you do in Sun ONE Studio?
Thank you very much for all your help.
Regards,
Ricardo Osuna
请先登录再写评论。
Ricardo,
Try adding servlet.jar to your project's classpath and it should work.
Eugene
"Ricardo Osuna" <no_mail@jetbrains.com> wrote in message
news:22319279.1059173620550.JavaMail.itn@is.intellij.net...
>
>
where to put it...
>
IDEA to work with servlets. I am so used to working with Sune ONE Studio. I
have not been able to compile any servlet. I have configured IDEA to work
with web applications but apparently it can not detect any servlet classes.
I keep getting all this compiling errors (cannot resolve symbol). I am
working with Tomcat 4.1. I know that this version is not supported for
debbuging. I don't want to debug. I just want to get "code couching" and
being able to compile my servlets / jsp pages. Is there anything else I need
to configure in IDEA to get it working? Can I work in it without a src
directory? Just like you do in Sun ONE Studio?
>
>
>
Thanks a lot Eugene. Now I have it working. Is there a way I can add the whole lib directory to the project's classpath to recognize all my jars?
thanks again for your help,
Ricardo Osuna