• Post Reply Bookmark Topic Watch Topic
  • New Topic

Login Issue

 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all I have small problem but don't know what should be done for that?
Well I've a login module in my jsp-servlet project
and it works like below

login.html ----> login.java -------> adminHome.jsp

now when user is being redirected to the adminHome.jsp it shows the url as /login. that is even ok but I cant see the CSS code running in adminHome.jsp. Why?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't sound like it has anything to do with logins, or even servlets.

How does the HTML page reference the CSS files? And are the CSS files being downloaded correctly (the access logs of your server will tell you)?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The URL to your CSS file is likely wrong. It should be a server-relative URL starting with the context path. See the JspFaq for more info.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!