How to run jsp files in IntelliJ?

Hai,
I configured my project to run servlets using IntelliJ. Its working fine. But, when I tried to include a small JSP file (to print the current time), it is not working.
I don't know the directory structure under IntelliJ to place my JSP files. Please help me on where to place and How to run a JSP file using IntelliJ.
Do I need to make changes in web.xml or server.xml?
How can I point to project properties and WEB icon in IntelliJ IDEA4.5?

2 comments
Comment actions Permalink

Hi,

Place the jsp files to resource directories.

Yogesh wrote:

Hai,
I configured my project to run servlets using IntelliJ. Its working fine. But, when I tried to include a small JSP file (to print the current time), it is not working.
I don't know the directory structure under IntelliJ to place my JSP files. Please help me on where to place and How to run a JSP file using IntelliJ.
Do I need to make changes in web.xml or server.xml?
How can I point to project properties and WEB icon in IntelliJ IDEA4.5?



--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Thanks for your reply. I placed the .jsp files in the 'resources' directory. Its working now.

Yours,
S.Yogesh.
http://www27.brinkster.com/syogesh/home.html

0

Please sign in to leave a comment.