• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing the Tomcat classes in a web app

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to access the classes implementing Tomcat in my web app (to get the current Realm, as described here). The Tomcat docs mention that those classes are off-limits to web apps, and indeed this doesn't work for me (the class is not found).
Since this is apparently possible in general, the question is: How do I need to rearrange the Tomcat jars to make this work, or which setting needs to be tweaked?

Thanks,
Ulf
[ November 08, 2005: Message edited by: Ulf Dittmer ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I didn't. From the description I wouldn't have thought that it has any bearing on this. I'll give it a try.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben, that did the trick. I'll make a suggestion to enhance the documentation.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A suggestion would be good.
A patch would be better

Glad it's working
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic