Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: JSP classload error in Tomcat
matsgberglund
Junior Member

Posts: 4
Registered: 4/22/2005
Member Is Offline
posted on 4/22/2005 at 09:57 AM Reply With Quote
JSP classload error in Tomcat


I'm trying to build dynamic tree menues with servlet/JSP.

I construct the tree_items.js in my servlet and forward the result to the JSP page tree.jsp - I have renamed tree.html.

The tree.jsp has these rows;
<script language="JavaScript">
<jsp:include page="tree.js" />
<%=treeItems >
<jsp:include page="tree_tpl.js" />
</script>

But the icons is missing when I run the menu through the Web browser.
And I can see many errors when I look in the Tomcat consol.
E.g. java.lang.ClassNotFoundException: icons.

So for some reason Tomcat believes that the javascript is Java.
But Tomcat should just bother with JSP syntax and don't care with HTML and javascript.

What have I missed?
I have tried to copy the tree.js and tree_tpl.js files direct into the tree.jsp file - but it doesn't help.

Thankful for some assitance.

/Best regards, Mats
View User's Profile View All Posts By User U2U Member
matsgberglund
Junior Member

Posts: 4
Registered: 4/22/2005
Member Is Offline
posted on 4/22/2005 at 06:28 PM Reply With Quote

One more thing.
It's OK just to JSP include the files.

But not to add this;
<script language="JavaScript">
<!--//
new tree (TREE_ITEMS, TREE_TPL);
//-->
</script>

Tomcat seems to belive this is a Java statement.

And it doesn't help to write like this;
<script language="JavaScript">
<!--//
<%out.println("new tree (TREE_ITEMS, TREE_TPL);");%>
//-->
</script>

/Mats
View User's Profile View All Posts By User U2U Member
matsgberglund
Junior Member

Posts: 4
Registered: 4/22/2005
Member Is Offline
posted on 4/23/2005 at 09:51 AM Reply With Quote

I used Tomcat 5.5.4.
And the problem seems to be related to this version.
Tomcat 5.5.9 works fine.
But I still have problem with the image file path.
See the separate record about this.

/Mats
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004