ctrl-b in jsp pages

Hi all,
I have noticed the following problem (change?) in the last 3 builds.
In a jsp page, the functionality ctrl-b (and ctrl-click and mouse_weel-click) is working ok when another jsp is included like:
<%@ include file="../navtop.jsp" %>

but for the case (this is a kind of controls in our project):
<jsp:include page="../controls/SINGLE_SELECT.jsp" flush="true">
<jsp:param name="NAME" value="XRHM_PROION"/>
<jsp:param name="HAS_EMPTY" value="TRUE"/>
<jsp:param name="CLASS" value="INPUT"/>
<jsp:param name="SCRIPT_METHOD" value="calculateProductStaticFields(this.form)"/>
</jsp:include>
the ctrl-b on SINGLE_SELECT.jsp is opening the web.xml file?! and not the included jsp. Until version 5.0.2 (I can't remember the build number) it was working ok.

It is not of high priority, but it would be nice to have it back.

Thanks

5 comments

Hi,

You seems have servlet mapping for the jsp, isn't ?

Georgios Nikitas wrote:

Hi all,
I have noticed the following problem (change?) in the last 3 builds.
In a jsp page, the functionality ctrl-b (and ctrl-click and mouse_weel-click) is working ok when another jsp is included like:
<%@ include file="../navtop.jsp" %>

but for the case (this is a kind of controls in our project):
<jsp:include page="../controls/SINGLE_SELECT.jsp" flush="true">
<jsp:param name="NAME" value="XRHM_PROION"/>
<jsp:param name="HAS_EMPTY" value="TRUE"/>
<jsp:param name="CLASS" value="INPUT"/>
<jsp:param name="SCRIPT_METHOD" value="calculateProductStaticFields(this.form)"/>
</jsp:include>
the ctrl-b on SINGLE_SELECT.jsp is opening the web.xml file?! and not the included jsp. Until version 5.0.2 (I can't remember the build number) it was working ok.

It is not of high priority, but it would be nice to have it back.

Thanks



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

0

IDEA now prefers to resolve to servlet mapping if any and if it fails
then resolve to real file is done.

I wonder, why you have backing jsp as well as servlet?

Georgios Nikitas wrote:

that is true.



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

0

Oh I see, but it wouldn't nice IDEA to give the user, the option on which case of the two to resolve?

>> I wonder, why you have backing jsp as well as servlet?

In a +four years life project (developing the core and +10 projects for customers), taking part +15 developers (and not always be the same persons)... you have to understand that some things may have been designed in the "wrong" way and because of lack of time, the most difficult part is to change on the "correct" way :(

thanks again.

0

Georgios Nikitas wrote:

Oh I see, but it wouldn't nice IDEA to give the user, the option on which case of the two to resolve?

We need JIRA request, please, file one.

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

0

Please sign in to leave a comment.