Solved

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

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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

752 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