Glassfish server and Polymer

80 views
Skip to first unread message

Denis Subo

unread,
Apr 4, 2015, 4:19:07 PM4/4/15
to polym...@googlegroups.com
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 

Rob Dodson

unread,
Apr 9, 2015, 3:49:25 PM4/9/15
to Denis Subo, polymer-dev
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

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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/2e6c0ab8-0887-479e-81a0-e6fec1bc86d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages