• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Tags variable, with quotes?

 
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic