aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes contextpath in javscript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "contextpath in javscript" Watch "contextpath in javscript" New topic

contextpath in javscript

trinadh reddy
Ranch Hand

Joined: Sep 22, 2005
Posts: 60
how can i get the contextpath in javscript file
i mean to say i need to get contextpath in .js file
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62099

You can't. That's a server-side concept. You'll need to embed it in the page using JSP.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rocket mass heater kickstarter
subject: contextpath in javscript