adminfaces / admin-template

JSF responsive admin template based on Bootstrap and AdminLTE
https://adminfaces.github.io/docs/latest/#admin_template
MIT License
210 stars 101 forks source link

Weird url when I run my app #160

Closed solokingjec closed 5 years ago

solokingjec commented 5 years ago

When I run my app, the url is not properly formed. This is my admin configuration

admin.indexPage=login.htm admin.renderMessages=false .....

when I run, it gives the url like this

http://localhost:8080/http:/login.htm

Instead of

http://localhost:8080/login.htm

I can add you on bit-bucket.

rmpestano commented 5 years ago

Hi, how's the url mapping of faces servlet in web.xml?

rmpestano commented 5 years ago

Does it work with RC20?

solokingjec commented 5 years ago

With RC20 its working perfect.

The url mapping looks like this

Faces Servlet *.htm

Best Regards Francis Njoroge Mwariri P.O. Box 63-01028 Gatukuyu,Kenya. Email:email2mefrancis@gmail.com Whatsap: +254788647116 java enterprise application developer at mobsofts company

On Wed, 13 Feb 2019 at 13:42, Rafael M. Pestano notifications@github.com wrote:

Does it work with RC20?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adminfaces/admin-template/issues/160#issuecomment-463150145, or mute the thread https://github.com/notifications/unsubscribe-auth/AGBSwfDw-gwMphMl26FnXh0HBp62Hf1mks5vM-wrgaJpZM4a4ya8 .

rmpestano commented 5 years ago

It's probably related to this.

I'll do some tests here.

rmpestano commented 5 years ago

can't you have a login and index (initial page) page on your application? For example this works for me:

admin.loginPage=login.htm
admin.indexPage=index.htm