File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes issue with javascript and tiles. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "issue with javascript and tiles." Watch "issue with javascript and tiles." New topic

issue with javascript and tiles.

Vinny Menon
Ranch Hand

Joined: Jan 10, 2006
Posts: 62

fellow ranchers
When i access my app url through localhost IP, ,the javascript elements are correctly shown as object HTMLTableRowElement and the javascript code of hiding/showing menu works fine.
when i access the same url through my machine IP address, http://ipaddress:8080/myapp/index.jsp ,the javascript elements shown as [object] and the javascript code of of hiding/showing menu stops working fine.
i am using struts tiles in the application and deployed it on tomcat 6.0.browser is IE 8.0

can some one please advise why this is happening?
vinny m

Regards,Vinny M.
proud Fan of European Champion CHELSEA FC
"If you don't see the bug where you're looking, perhaps you're looking in the wrong place" -James Gosling
Vinny Menon
Ranch Hand

Joined: Jan 10, 2006
Posts: 62

i changed the browser mode to IE8 and document mode to IE8 standards,and the code is working fine now.
I agree. Here's the link:
subject: issue with javascript and tiles.
Similar Threads
Help needed on SSL configuration for Apache HTTP server 2.2.10 and Tomcat 5.5.9
hiding status bar
how to remove the port number in URL
My struts app went crazy on Internet Explorer
Javascript not working in Netscape 7.01