This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 314
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: 5139
    
  12

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: 314
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: 5139
    
  12

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: 314
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
     
    Similar Threads
    How to write a byte[] from a JSP page.
    struts tags on tomcat server
    including content in jsp from action class ?
    struts action class
    Display Check Boxes & Dropdowns in Struts with search results