Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

WebSphere 6.1.0.0 and JavaScript uissue

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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,
Harshi
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shani,
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?
 
Shani Gunarathna
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic