V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
letica
V2EX  ›  问与答

struts2后缀可以匹配任意的字符串吗?

  •  
  •   letica · Aug 20, 2013 · 3226 views
    This topic created in 4645 days ago, the information mentioned may be changed or developed.
    struts2的后缀是这么配置的,如果用户想要指定多个请求后缀,则多个后缀之间用英文逗号隔开:
    <constant name="struts.action.extension" value="do, action">

    我的问题是,想匹配任意但是未知的后缀,试了一下用 *号是不可以的,有办法可以解决吗?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3055 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 14:15 · PVG 22:15 · LAX 07:15 · JFK 10:15
    ♥ Do have faith in what you're doing.