Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts tag lib problem on tomcat 4.1.29

 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to run this jsp page on 4.1.30 in my development environment. However when my error page was moved to production (4.1.29) it started telling me.(jsp page enclosed at bottom)




I have struts.jar in the lib directory of my web app. Are there any tomcat configuration parameters that can disable the execution of taglibs???





any suggestions on what could cause this behavior.

[ December 07, 2004: Message edited by: peter cooke ]

[ December 07, 2004: Message edited by: peter cooke ]

[ December 07, 2004: Message edited by: peter cooke ]

[ December 07, 2004: Message edited by: peter cooke ]
[ December 07, 2004: Message edited by: peter cooke ]
 
Roel De Nijs
Sheriff
Posts: 10232
129
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
don't see it immediately, but isn't there something missing, because i can't find any assignment of loginErrorRedirectPage
 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OPPS trying to figure out what was happening.... Here is the correct page. But as you can see loginErrorRedirectPage is simply a parameter from the context.
Still does not explain why the tag library facilites work in one server an not the other


 
Roel De Nijs
Sheriff
Posts: 10232
129
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried it on my pc and it's just working fine. i am using tomcat 5.0

and what happens if you change <html:html> and </html:html> to just <html> and </html> ?

why don't change tomcat on production to 4.1.30 ?
 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did the change to get to production. However I am left with a bigger can of worms.

  • Because the taglib infrastructure will not work for this miniscule issue, I cannot depend on taglibs at all.
  • Since tagligs for production in general fail. I cannot then change all the scriptleting that control presentation issues in my jsp's to tags.
  • not being able to convert scriptlets to taglibs. Means the HTML content providers have to come to me to change JSP's


  • I like pro-active sys admins, but when they change the default installed configs for max security, things start breaking. I scanned the tomcat configs. I did not see anything concerning the ability allow/disallow taglibs. Is there some property in the policy file that controls taglibs?
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic