Servlet with Tomcat

Hello!

I am a beginner using IntelliJ IDEA for Servlet development and I have a question.
Do I need to manually add a reference to the servlet libs at Tomcat folder? I tought IntelliJ IDEA would do that for me.

Thanks,

-George

1 comment
Comment actions Permalink

If mark 'Application Server' option in 'Frameworks and technologies' page of the New Project Wizard during creation of the project IDEA should add
reference to servlet-api library automatically. Otherwise you can add the reference to the library in File | 'Project Structure' dialog: select your
module, switch to 'Dependencies' tab, click on '+' button, choose 'Library' item and select the appropriate library in 'Application Server Libraries'
group.

--
Nikolay Chashnikov
Software Developer
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.