You may need to bring this up as an issue with Glassfish. We're not experts
on that particular technology and it looks like it's causing a bug in
webcomponents.js

On Sat, Apr 4, 2015 at 1:19 PM, Denis Subo <[email protected]> wrote:

> Hi,
>
> I have one question. Is possible to create an own login page with Polymer
> on Glassfish server? I created a simple login page but when I configure
> <login-config> with <auth-method>FORM</auth-method> in web.xml, get mi an
> error:
>
> Uncaught SyntaxError: Unexpected token < (15:31:33:007 | error,
> javascript) at
> http://localhost:8080/WebApplicationTEST/%3Cbower_components/webcomponentsjs/webcomponents.min.js:3
>
> I tried with another more simple example:
> <html>
> <head>
>     <script
> src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
>     <link rel="import"
> href="bower_components/paper-button/paper-button.html">
>     <link rel="import" href="bower_components/login-box/login-box.html">
>     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
>     <title>Login</title>
> </head>
> <body>
>   <center>
>     <div>
>             <login-box></login-box>
>     </div>
>   </center>
> </body>
> </html>
>
> error is the same...
> You know may be where is the problem?
>
> Thanks
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/2e6c0ab8-0887-479e-81a0-e6fec1bc86d6%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/2e6c0ab8-0887-479e-81a0-e6fec1bc86d6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAJj5OwBFpb279KT2%2BN%3Dd-uNAeC7qzcvv4wnsybbB7hRycDSkAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to