aspose file tools
The moose likes Websphere and the fly likes WebSphere and JavaScript uissue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere and JavaScript uissue" Watch "WebSphere and JavaScript uissue" New topic

WebSphere and JavaScript uissue

Shani Gunarathna

Joined: Jul 07, 2009
Posts: 11

I have deployed my WAR file in Websphere which worked really well in Jetty. But in Websphere the java scripts are not working even though i have specified them correctly.

Can somebody please help me on this?

Thanks in advance,
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31683

What does not working correctly mean? That WebSphere can't find them?

I recommend trying to see what the absolute path is that WebSphere is looking for. In particular, is there a context root present that wasn't in Jetty?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Shani Gunarathna

Joined: Jul 07, 2009
Posts: 11
Yes. I gave a context root for WebSphere which didn't there in the Jetty. I get object is null java script errors and i have put a jquery calendar control which is also not working. That means calendar is not getting displayed in the UI. Seems like even if i have specified paths for javascript files the jsp page can't find them. Please guide me since i have a urgent work to be delivered. Meanwhile I ll read more on Websphere.
It is sorta covered in the JavaRanch Style Guide.
subject: WebSphere and JavaScript uissue