File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes pager-taglib problem wrong Struts-config file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "pager-taglib problem wrong Struts-config file" Watch "pager-taglib problem wrong Struts-config file" New topic

pager-taglib problem wrong Struts-config file

Dimitri Bryjak

Joined: Jul 16, 2008
Posts: 1

I'M using the pager-taglib Lib tu pager tables. My Problem is, that this library is using the standardmodul Struts-config.xml. My Actions of the jsp are in struts-care.xml or struts-view.xml. When I ckick one of the offset, he is searching in struts-config. My Action and Formbean lieng unter der packege care / view. How can I configure the pager to use the right struts-config.xml.

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441


Welcome to JavaRanch

It's been a long time since i last used Struts. As far as i know, the ActionServlet in the web.xml can be passed an init-param which will point to the struts configuration file. Something like:

<pre name="code" class="core">

I think, the param-value for this config supports comma separated values, which means that you can specify multiple files.

I'll move this to our Struts forum, where you might get more help.

P.S: Later on, if this turns out to be specific to the taglib being used, then the moderator is free to move this back to "Other Open Source Projects" forum.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: pager-taglib problem wrong Struts-config file
It's not a secret anymore!