• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts tag lib problem on tomcat 4.1.29

 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
     
    straws are for suckers. tiny ads are for attractive people.
    a bit of art, as a gift, the permaculture playing cards
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic