Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PrettyFaces 2.0.12.Final+;JSF2.2+;PrimeFaces 5.2.RC3和x2B;春季证券_Jsf_Jsf 2_Primefaces_Spring Security_Prettyfaces - Fatal编程技术网

PrettyFaces 2.0.12.Final+;JSF2.2+;PrimeFaces 5.2.RC3和x2B;春季证券

PrettyFaces 2.0.12.Final+;JSF2.2+;PrimeFaces 5.2.RC3和x2B;春季证券,jsf,jsf-2,primefaces,spring-security,prettyfaces,Jsf,Jsf 2,Primefaces,Spring Security,Prettyfaces,如何在现有应用程序(JSF 2.2、PrimeFaces 5.2 RC3和Spring Securities)中实现用于URL重写和隐藏的PrettyFaces 我的代码:preety-config.xml <pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

如何在现有应用程序(JSF 2.2、PrimeFaces 5.2 RC3和Spring Securities)中实现用于URL重写和隐藏的PrettyFaces

  • 我的代码:preety-config.xml

    <pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://ocpsoft.org/schema/rewrite-config-prettyfaces
                      http://ocpsoft.org/xml/ns/prettyfaces/rewrite-config-prettyfaces.xsd">
    
    
    

  • 我的完整pom.xml

    http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0

    com.invession 父母亲 1.0-快照 ../parent/pom.xml

    网 1.0-快照 战争

    安装 org.apache.maven.plugins maven资源插件 2.3 UTF-8 org.apache.maven.plugins maven战争插件 2.1.1 真的 src/main/webapp /.html /.xhtml **/*.xml src/main/resources 真的

    com.invession 核心 ${invessence.version}

    
    com.invession
    代理Web服务
    ${invessence.version}
    com.invession
    寄信人
    ${invessence.version}
    com.invession
    投资模型
    ${invessence.version}
    网络选项卡
    portfolioJ2SE
    com.invession
    yodlee服务
    1.0-快照
    公地小海狸
    公地小海狸
    公共dbcp
    公共dbcp
    公地蒸煮器
    公地蒸煮器
    文件上传
    文件上传
    org.apache.commons
    commons-lang3
    公用记录
    公用记录
    共用池
    共用池
    com.google.collections
    谷歌收藏
    org.jdom
    Java文档对象模型
    javax.ws.rs
    javax.ws.rs-api
    log4j
    log4j
    mysql
    mysql连接器java
    org.quartz-scheduler
    石英
    com.google.code.maven-play-plugin.org.playframework
    jj simplecaptcha
    org.springframework
    春季aop
    org.springframework
    春季方面
    org.springframework
    spring上下文
    org.springframework
    春豆
    org.springframework
    弹簧芯
    org.springframework
    spring上下文支持
    org.springframework
    弹簧式
    org.springframework
    弹簧乐器
    org.springframework
    弹簧仪器tomcat
    org.springframework
    SpringJDBC
    org.springframework
    SpringJMS
    org.springframework
    春季甲虫
    org.springframework
    弹簧oxm
    org.springframework
    减震器
    org.springframework
    弹簧试验
    org.springframework
    德克萨斯州春季
    org.springframework
    弹簧网
    org.springframework
    SpringWebMVC
    org.springframework
    SpringWebMVCPortlet
    org.springframework.security
    春季安全方面
    org.springframework.security
    春季安全
    org.springframework.security
    spring安全配置
    org.springframework.security
    spring安全内核
    org.springframework.security
    spring安全加密
    org.springframework.security
    spring安全ldap
    org.springframework.security
    spring安全openid
    org.springframework.security
    spring安全远程处理
    org.springframework.security
    spring安全标记库
    org.springframework.security
    spring安全网
    javax.mail
    邮件
    阿瓦隆框架
    阿瓦隆框架
    org.apache.avalon.logkit
    阿瓦隆日志套件
    com.google.api-client
    谷歌api客户端
    org.apache.poi
    poi
    org.apache.poi
    poi ooxml
    主题
    火花
    1
    org.primefaces
    素面
    5.2.3
    org.primefaces.extensions
    素数面扩展
    1.2.1
    玻璃鱼
    javax.faces
    2.2.6
    javax.servlet
    javax.servlet-api
    3.0.1
    javax.servlet
    jstl
    1.2
    假如
    javax.servlet.jsp
    jsp api
    2.1
    假如
    org.ocpsoft.rewrite
    重写servlet
    2.0.12.1最终版本
    org.ocpsoft.rewrite
    重写配置面
    2.0.12.1最终版本
    com.itextpdf
    itextpdf
    5.1.3
    com.lowagie
    文字
    2.1.7
    弹跳船舱
    bcprov-jdk14
    弹跳船舱
    bcmail-jdk14
    org.bouncycastle
    bctsp-jdk14
    


  • 你需要向你的pretty-config.xml文件添加规则。除非你告诉它,否则PrettyFaces不会做任何事情。不过,对于将重写应用到现有的应用程序,我建议看一下。它对于广泛的、应用程序范围的重写功能要强大得多。

    你需要向你的pretty-config.xml文件添加规则。PrettyFace除非你告诉它,否则它不会做任何事情。不过,对于将重写应用到现有的应用程序,我建议看一下。它在进行广泛的应用程序范围内的重写时功能更强
        <dependency>
         <groupId>com.invessence</groupId>
         <artifactId>broker-webservices</artifactId>
         <version>${invessence.version}</version>
      </dependency>
    
      <dependency>
         <groupId>com.invessence</groupId>
         <artifactId>emailer</artifactId>
         <version>${invessence.version}</version>
      </dependency>
      <dependency>
         <groupId>com.invessence</groupId>
         <artifactId>invmodel</artifactId>
         <version>${invessence.version}</version>
      </dependency>
      <dependency>
          <groupId>webcab</groupId>
          <artifactId>portfolioJ2SE</artifactId>
       </dependency>
        <dependency>
            <groupId>com.invessence</groupId>
            <artifactId>yodlee-services</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>
    
      <dependency>
         <groupId>commons-beanutils</groupId>
         <artifactId>commons-beanutils</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-dbcp</groupId>
         <artifactId>commons-dbcp</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-digester</groupId>
         <artifactId>commons-digester</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-fileupload</groupId>
         <artifactId>commons-fileupload</artifactId>
      </dependency>
      <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-lang3</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-logging</groupId>
         <artifactId>commons-logging</artifactId>
      </dependency>
      <dependency>
         <groupId>commons-pool</groupId>
         <artifactId>commons-pool</artifactId>
      </dependency>
      <dependency>
         <groupId>com.google.collections</groupId>
         <artifactId>google-collections</artifactId>
      </dependency>
      <dependency>
         <groupId>org.jdom</groupId>
         <artifactId>jdom</artifactId>
      </dependency>
      <dependency>
         <groupId>javax.ws.rs</groupId>
         <artifactId>javax.ws.rs-api</artifactId>
      </dependency>
      <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
      </dependency>
      <dependency>
         <groupId>mysql</groupId>
         <artifactId>mysql-connector-java</artifactId>
      </dependency>
      <dependency>
         <groupId>org.quartz-scheduler</groupId>
         <artifactId>quartz</artifactId>
      </dependency>
      <dependency>
         <groupId>com.google.code.maven-play-plugin.org.playframework</groupId>
         <artifactId>jj-simplecaptcha</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-aop</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-aspects</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-context</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-beans</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-core</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-context-support</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-expression</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-instrument</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-instrument-tomcat</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-jdbc</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-jms</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-orm</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-oxm</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-struts</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-test</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-tx</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-web</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-webmvc</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-webmvc-portlet</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-aspects</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-cas</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-config</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-core</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-crypto</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-ldap</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-openid</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-remoting</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-taglibs</artifactId>
      </dependency>
      <dependency>
         <groupId>org.springframework.security</groupId>
         <artifactId>spring-security-web</artifactId>
      </dependency>
      <dependency>
         <groupId>javax.mail</groupId>
         <artifactId>mail</artifactId>
      </dependency>
       <dependency>
           <groupId>avalon-framework</groupId>
           <artifactId>avalon-framework</artifactId>
       </dependency>
       <dependency>
           <groupId>org.apache.avalon.logkit</groupId>
           <artifactId>avalon-logkit</artifactId>
       </dependency>
       <dependency>
            <groupId>com.google.api-client</groupId>
            <artifactId>google-api-client</artifactId>
          </dependency>
         <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
        </dependency>
    
      <!-- Primefaces dependecies -->
      <dependency>
          <groupId>themes</groupId>
          <artifactId>spark</artifactId>
            <version>1.0</version>
       </dependency>
    
      <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>5.2.RC3</version>
        </dependency>
         <dependency>
           <groupId>org.primefaces.extensions</groupId>
           <artifactId>primefaces-extensions</artifactId>
           <version>1.2.1</version>
         </dependency>
         <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.faces</artifactId>
            <version>2.2.6</version>
         </dependency>
         <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.0.1</version>
         </dependency>
         <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>provided</scope>
         </dependency>
         <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.1</version>
            <scope>provided</scope>
        </dependency>
    
      <!-- Other Primefaces extensions dependencies -->
      <!-- OCPSoft Preetyfaces -->
      <dependency>
            <groupId>org.ocpsoft.rewrite</groupId>
            <artifactId>rewrite-servlet</artifactId>
            <version>2.0.12.Final</version>
      </dependency>
      <dependency>
          <groupId>org.ocpsoft.rewrite</groupId>
          <artifactId>rewrite-config-prettyfaces</artifactId>
          <version>2.0.12.Final</version>
      </dependency>
    
      <!-- itext and other for exporting documents in pdf/excel format -->
    
      <dependency>
            <groupId>com.itextpdf</groupId>
            <artifactId>itextpdf</artifactId>
            <version>5.1.3</version>
         </dependency>
         <dependency>
             <groupId>com.lowagie</groupId>
             <artifactId>itext</artifactId>
             <version>2.1.7</version>
             <exclusions>
                 <exclusion>
                     <groupId>bouncycastle</groupId>
                     <artifactId>bcprov-jdk14</artifactId>
                 </exclusion>
                 <exclusion>
                     <groupId>bouncycastle</groupId>
                     <artifactId>bcmail-jdk14</artifactId>
                 </exclusion>
                 <exclusion>
                     <groupId>org.bouncycastle</groupId>
                     <artifactId>bctsp-jdk14</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>