zoukankan      html  css  js  c++  java
  • Atitit.面向接口的web 原理与设计重写 路由启动绑定配置url router rewriting urlpage  mvc mvp的 java c#.net php js

    Atitit.面向接口的web 原理与设计重写 路由启动绑定配置url router rewriting urlpage  mvc mvp的 java c#.net php js 

     

     

    原理 通过vm带入启动参数    制定ioc配置文件 绑定各项。。

     

    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

    <iframe src="<%=request.getContextPath()+aaaCfg.IocX4jobui.getCfgVal("merchant_center_left_menu")%>" height="700px" width="190px" align="left" frameborder="0" hspace="0" vspace="0"  scrolling="no" ></iframe>

    作者:: 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 ) 汉字名:艾龙,  EMAIL:1466519819@qq.com

    转载请注明来源: http://blog.csdn.net/attilax

     

     

    package aaaCfg;

     

    import com.attilax.io.pathx;

    import com.attilax.util.PropX;

     

    /**

     * aaaCfg.IocX4jobui

     * @author Administrator

     *

     */

    public class IocX4jobui {

     

    public static void main(String[] args) {

    System.out.println(aaaCfg.IocX4jobui.getCfgVal("hre_web_url"));

     

    }

     

    public static String getCfgVal(String string) {

    String x = "resin.server"+ System.getProperty("resin.server");

    System.out.println(x);

     String apptype=System.getProperty("apptype");

     String cfgpath=pathx.webAppPath()+"/"+apptype+".cfg.txt";

     PropX px=new PropX(cfgpath);

    return px.getProperty(string);

    }

     

    }

     

     

    ----------jobus.cftg.txt

     

    hre_web_url=/CommonServletV2

    #hre_web_url base /approot

    #com.attilax.php/cms/CmsImp_4Imovie.php

    #sql_query=select * from wxb_good_copy

     

    merchant_center_left_menu=/customer/left_menu4jobus.jsp

     

     

     

    ----End

     

     

     

     

  • 相关阅读:
    Algorithm Gossip (48) 上三角、下三角、对称矩阵
    .Algorithm Gossip (47) 多维矩阵转一维矩阵
    Algorithm Gossip (46) 稀疏矩阵存储
    Algorithm Gossip (45) 费氏搜寻法
    Algorithm Gossip (44) 插补搜寻法
    Algorithm Gossip (43) 二分搜寻法
    Algorithm Gossip (42) 循序搜寻法(使用卫兵)
    Algorithm Gossip (41) 基数排序法
    Algorithm Gossip (40) 合并排序法
    AlgorithmGossip (39) 快速排序法 ( 三 )
  • 原文地址:https://www.cnblogs.com/attilax/p/5963513.html
Copyright © 2011-2022 走看看