|
#1
|
|||
|
|||
|
Hey everyone.
I am attempting to implement Jims Menu v5.7 into our application. I have created a sample jsp to try the menu out, got everything working, looks great. However when I try to include this sample jsp in with another jsp, I an 'object expected' error at the line <body onload='init()'>. I have tried using the <jsp:include page=''/> tag as well as the JSTL <c:import url='' /> tag. Any ideas? Thanks. |
|
#2
|
||||
|
||||
|
Make sure you declare the <script src="menu.js"></script> before the body onload tag.
cr3ative
__________________
Mostly retired member, PM me if you have a specific query to make sure I recieve it :) cr3ation | cr3ation hosting | cr3ation web design | read the stickies |
|
#3
|
|||
|
|||
|
yeah, I declare both <script> tags inside the <head> tag. I have also verified that I have the correct paths - for both the <script> tags as well as the browser.js
|
|
#4
|
|||
|
|||
|
heres some more info.
the <include> tag works when I call the main jsp (the one that includes my menu.jsp), but since this is a struts application, most of the time the execute method of the ActionClass gets called first. This is where I am having the problem. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|