tilesが動かない!springを使う場合は、tiles用のRequestプロセッサを指定してね。

以下の環境で、strutsのtilesをしようしようとしたら503エラーが。。

struts 1.3.10
spring 2.5

なんでかって。。それは、struts-configで宣言しているcontrollerタグで指定するクラスが間違ってたからでした。

↓の用に設定していましたが、DelegatingRequestProcessorではなDelegatingTilesRequestProcessorでした。。

ダメ

<controller>
<set-property property="processorClass"
value="org.springframework.web.struts.DelegatingRequestProcessor"/>
</controller>


正解

<controller>
<set-property property="processorClass"
value="org.springframework.web.struts.DelegatingTilesRequestProcessor"/>
</controller>

これに数時間はまってましたorz..

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

1 Response to "tilesが動かない!springを使う場合は、tiles用のRequestプロセッサを指定してね。"

  1. abrahempacha says:
    2022年2月27日 0:50

    What are the best casino sites for Australian players?
    The casino 실시간 바카라 sites in Australia are some of the best in 파라오 바카라 the world – you 슬롯 추천 can enjoy slots games from the likes 벳365코리아 of NetEnt 검증 사이트 먹튀 랭크 and NetEnt. Withdrawals and

コメントを投稿