File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Struts tag lib problem on tomcat 4.1.29 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Struts tag lib problem on tomcat 4.1.29" Watch "Struts tag lib problem on tomcat 4.1.29" New topic
Author

Struts tag lib problem on tomcat 4.1.29

peter cooke
Ranch Hand

Joined: Mar 16, 2004
Posts: 317
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 ]

CIAO Peter M. Cooke
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5535
    
  13

don't see it immediately, but isn't there something missing, because i can't find any assignment of loginErrorRedirectPage


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
peter cooke
Ranch Hand

Joined: Mar 16, 2004
Posts: 317
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
Bartender

Joined: Jul 19, 2004
Posts: 5535
    
  13

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

Joined: Mar 16, 2004
Posts: 317
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?
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Struts tag lib problem on tomcat 4.1.29