Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

render url problem in chrome  RSS feed

Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Code as below

<portlet:actionURL var="setPolicyURL">
<portlet:param name="struts.portlet.action" value="/claims/setPolicy" />
<portlet:param name="currentTab" value="policyDetailsPage" />

function setPolicyDTO(subline,policyCode,policyId,dbLookup){
alert( "<%=setPolicyURL%>");
document.ClaimManagementForm.action = "<%=setPolicyURL%>";

above script working fine in IE browser . but in chrome browser action is not being called. Any solution please help me.

Thanks in advance.
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also face the same situation what you are facing now. Chrome doesn't allow url's because of the security issues. However you have one solution. Place the required doc's or images in your webapplication only , call them using its relative path not absolute.

Thank you
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!