File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 33132

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]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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.
I agree. Here's the link:
subject: WebSphere and JavaScript uissue
It's not a secret anymore!