struts2 跨包跳转

<action name="edit_equipment" class="equipmentAction" method="editEquipment">
			<result name="success" type="redirectAction">
				<param name="namespace">/commodity</param>
				<param name="actionName">list</param>
				<param name="commodity.type">EQUIPMENT</param>
			</result>
		</action>

laravel 基本用法 路由命名

url正则表达式过滤

Route::get('/{name}', function($name)
{
    $data = array('name'=>$name);
	return View::make('hello', $data);
})->gt;where('name', '[A-Za-z]*');

url动态参数
Route::get('/{name?}', function($name="")
{
    $data = array('name'=>$name);
	return View::make('hello', $data);
})->where('name', '[A-Za-z]*');

内部跳转和url路径获得
1