World is open now, who needs gates and windows..

WebSphere Commerce Suite, WebSphere Application server, IBM HTTP Server and Oracle

Friday, September 25, 2009

Prepare url dynamically in Javascript

<% String sWebAppPath=UIUtil.getWebappPath(request); %>string url = window.location.protocol + "://" + window.location.hostname + "/" + <%=sWebAppPath%> + "/" + ViewName
Posted by Suresh Raja Bollipo at 4:31 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: WCS

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2012 (1)
    • ►  September (1)
  • ►  2011 (5)
    • ►  November (2)
    • ►  May (2)
    • ►  April (1)
  • ►  2010 (1)
    • ►  March (1)
  • ▼  2009 (20)
    • ►  December (2)
    • ►  November (3)
    • ▼  September (13)
      • Prepare url dynamically in Javascript
      • Creating Cookie in a Session
      • Home Page - Getting Admin Console in Store Front
      • Create DB Schema (When Instance exists)
      • TNS NAME BLOCKED - SOLUTION
      • Start and Stop Servers
      • TNS-Names Settings
      • Create user for WCS
      • Commerce Product Updates Installation Check
      • SAR Publish Guide
      • HostName only then redirect to URL
      • WAS Deployment Scripts
      • import and export
    • ►  June (1)
    • ►  April (1)

Links for nice sites

  • King of WCS: Bipin...
  • Identity and Control
  • Venki the great DBA
Picture Window theme. Powered by Blogger.