Solved

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

Posted on 2008-06-25
2
1,154 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 42

Accepted Solution

by:
David S. earned 250 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get CSS styled menu to maintain the open selected menu? 13 44
href return to normal window 5 28
Clear input text 15 26
ASP get fieds value 2 20
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.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

740 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