• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tags variable, with quotes?  RSS feed

 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server: tomcat 4.0.3 / jdk 1.4.0 / solaris
<ct:checkLogin loginPage="login.jsp"/>
The above tag forwards to login.jsp page if no one is logged in.
However, I get 404, "The requested resource (/"login.jsp") is not available.
Is this a server bug? Or I've to strip the quotes manually?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is your login.jsp page located?
ie; the directory structure to the file.
- madhav
 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
login.jsp is in root directory of WAR.
The file that used the tag is also in root directory of WAR.
I did a System print out of the parameter being passed in, and it is "login.jsp" (INCLUDING THE QUOTES)

Chu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!