aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "issue with javascript and tiles." Watch "issue with javascript and tiles." New topic
Author

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, http://127.0.0.1:8080/myapp/index.jsp ,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?
cheers
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: http://aspose.com/file-tools
 
subject: issue with javascript and tiles.