Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Integrating Verisign Secure Seal supplied html into XHTML Seam/JSF application

Posted on 2008-06-25
2
Medium Priority
?
1,162 Views
Last Modified: 2013-12-02
I have a JBoss Seam application that serves up SSL pages to a secure site.  The application uses XHTML/JSF.  I don't think Seam is relevant for my question.

Our SSL certificate is provided by Verisign - and they provide a 'secured by verisign' html fragment to include in your site that allows user to click-through to check that your site is indeed known by verisign.

I am trying to integrate this raw html into a xhtml page within my Jboss Seam application.  (see http://www.verisign.com/ssl/secured-seal) But when the page is rendered on the server it complains about the embedded <script> tag in the supplied html.  

The offending tag is:
<script src="https://seal.verisign.com/getseal?host_name=secure.mobile-sense.com&size=M&use_flash=YES&use_transparent=YES&lang=en"></script>

When the page is rendered within Jboss I get the following error:
javax.servlet.ServletException: Error Parsing /layout/template.xhtml: Error Traced[line: 67] The reference to entity "size" must end with the ';' delimiter.

It looks like the renderer is interpreting the url query parameters as html that needs to be escaped.  I've tried surrounding the code fragment with a jsf verbatim tag <f:verbatim escape="true" (and false) - but still get the same results.

What is wrong the src attribute on the script tag??


0
Comment
Question by:tdsproule
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
David S. earned 750 total points
ID: 21871450
All "&" must be changed to "&amp;".
0
 

Author Comment

by:tdsproule
ID: 21873587
I had tried that - but that didn't work as well - but I then tried replacing & with &#31; and that worked in my environment.

Anyways - I'm now sorted.

Many thanks for pointing me in the right direction.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question