JSP syntax support

Hi,
I want to migrate my web application from version 3.0 to 4.5 (build #2239) but I have base problem with JSP syntax support. JSP completion and other JSP's features do not work.
I would like to use IDEA only for coding so I do not want to configure web modules etc.

Is it possible to work with JSP files without any other configuration? If no please can you tell me what to configure to have full support for JSP tags and JSP's features?

Thank you in advance,
PETER

7 comments
Comment actions Permalink

Hi,

- Without web modules you will get just html support.
- Create default web module will produce complete jsp with one
exception: for tag library support one needs to add its tld to web resource.

Petr Juza wrote:

Hi,
I want to migrate my web application from version 3.0 to 4.5 (build #2239) but I have base problem with JSP syntax support. JSP completion and other JSP's features do not work.
I would like to use IDEA only for coding so I do not want to configure web modules etc.

Is it possible to work with JSP files without any other configuration? If no please can you tell me what to configure to have full support for JSP tags and JSP's features?

Thank you in advance,
PETER



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

It does not help to me :(.

I had project in IDEA 3.0 where were some directories like CSS, IMAGE etc. and all JSP files in root directory. I have migrated to the 4.5.1 version of IDEA and I created new web module (I did not select application server and all needed paths (for resource etc.) I set to the root directory. I set nothing else.
And when I open to edit any JSP file then IDEA e.g. does not know <jsp: tag and does not support completion.

Please, could you send me other hints to help me?

Thank you,
PETER

0
Comment actions Permalink

Your css, image, jsps should be under web resource directories.

Petr Juza wrote:

It does not help to me :(.

I had project in IDEA 3.0 where were some directories like CSS, IMAGE etc. and all JSP files in root directory. I have migrated to the 4.5.1 version of IDEA and I created new web module (I did not select application server and all needed paths (for resource etc.) I set to the root directory. I set nothing else.
And when I open to edit any JSP file then IDEA e.g. does not know <jsp: tag and does not support completion.

Please, could you send me other hints to help me?

Thank you,
PETER



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I DID all these things and nothing happen. I would like to migrate to version 4.5 because it offers new interesting features etc. but I'm not able.

I attached image of my screen where you can see that IDEA does not know <jsp: at all.

I tried to create new web module with connection to the TOMCAT server but it was the same situation. I noticed that message "javax.servlet.Servlet not found in application server" was displayd always even though I added jar files with this class.

PETER



Attachment(s):
idea.jpg
0
Comment actions Permalink

Hi,
Setting jars manually it quite tricky,
it is easier just to point to valid tomcat installation home.

Petr Juza wrote:

I DID all these things and nothing happen. I would like to migrate to version 4.5 because it offers new interesting features etc. but I'm not able.

I attached image of my screen where you can see that IDEA does not know <jsp: at all.

I tried to create new web module with connection to the TOMCAT server but it was the same situation. I noticed that message "javax.servlet.Servlet not found in application server" was displayd always even though I added jar files with this class.

PETER



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Yes, I only selected TOMCAT directory and it was all.

I found in HELP in chapter "Tag Libraries Support" this note: IDEA also supports implicit tag library (see JSP 2.0 specification, section JSP.7.3.4 for more details).

I'm able to add support for my TLD files but always it is not working support for standard JSP tags. Is it necessary to have J2EE?

PETER

0
Comment actions Permalink

I'm terrible sorry because when I tried IDEA in other profile in my Windows (XP with SP2) then everything worked corretly.

PETER

0

Please sign in to leave a comment.