Welcome to TalkGraphics.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Posts
    1

    Default Issue with using MM and JSP

    Hello all,

    I've been trying to modify the js file that MM creates and have a few questions:

    1) The tag I'm using is <html:link href="${secureURL}/Account.do"/> which at runtime converts the URL to HTTPS. I've tried to modify the js file to change the url= to ${secureURL}/Account.do and the <a> tag to <html:link and the link doesn't fire. Any idea if Javascript can work with Struts tags? I've googled and I can't find any reference to both together.

    Thanks,
    Patrick

  2. #2
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Issue with using MM and JSP

    Struts won't do substitutions for code in a .js file - the struts processor won't see the struts references or change them.

    Paul

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •