JSP (tomcat) app in idea

Hi.
I am working on a stable, mature tomcat application for a few months. And I decided to import that app into intellij idea, so I made a new web module in my existing idea project, and connected it to existing source code. Most of the things work ok, but :

When there is a statement like this :
parent.topFrame.location = "/top.jsp" ]]>
and tomcat is started from idea, appropriate page can not dispay, and I get a message like this : java.util.MissingResourceException: Can't find bundle for base name ebillingGUI.
File ebillingGUI.properties exists, and when I start tomcat directly (without idea), it works without problems. Also, when it's started from idea, some other pieces of code access ebillingGUI.properties regularly, but when it's mixed with this script above (or similar), it just doesn't work.

Are there some known limitations to JSP and js, when using Idea ? Or what ? Any idea ? Thanks in advance.

1 comment
Comment actions Permalink

Is ebillingGUI.properties file copied into exploded directory on make?

Hi.
I am working on a stable, mature tomcat application for a few months. And I decided to import that app into intellij idea, so I made a new web module in my existing idea project, and connected it to existing source code. Most of the things work ok, but :

When there is a statement like this :
<script language="JavaScript" type="text/JavaScript">
parent.topFrame.location = "/top.jsp"
</script>
and tomcat is started from idea, appropriate page can not dispay, and I get a message like this : java.util.MissingResourceException: Can't find bundle for base name ebillingGUI.
File ebillingGUI.properties exists, and when I start tomcat directly (without idea), it works without problems. Also, when it's started from idea, some other pieces of code access ebillingGUI.properties regularly, but when it's mixed with this script above (or similar), it just doesn't work.

Are there some known limitations to JSP and js, when using Idea ? Or what ? Any idea ? Thanks in advance.



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

0

Please sign in to leave a comment.