發表文章

目前顯示的是有「Evernote轉寄」標籤的文章

[Evernote寫Blogger] 基隆 讚岐烏龍麵 巷子

圖片
[Evernote寫Blogger] 基隆 讚岐烏龍麵 巷子 From Evernote: 讚岐烏龍麵 巷子 讚岐烏龍麵 巷子 2013-3-20            

ie no cache

From Evernote: ie no cache Internet Explorer 無法從 SSL 網站開啟 Office 文件 chrome真的看得到xls的header,不過我測試環境上的看不到,很奇怪 因為他代理伺服器的關係會cache很多狀態,造成使用者登入狀態錯亂 ,所以我大部分的程式還是要no-cache. 本來是使用 annotation @ 用 Stripes framework指定,後來沒效. 下載xls的時候,雖然有指定application/vnd.ms-excel 好像還是被我們用的sitemesh排版套件,嵌入有指定no cache的頁面 只好再單獨加入標頭參數     this.getContext().getResponse().setHeader("Cache-Control", "public");     this.getContext().getResponse().setHeader("Pragma", "public");

stripes:options-collection

From Evernote: stripes:options-collection stripes:option   forEach      public List<MenuItem> getMenuItems() {           return menuItems ;  } < th > 上層程式 </ th >   < td colspan = "4" >                 < stripes:select id = "menuItemPk" name = "createMenuItem.parentMenuItem.menuItemPk"  disabled = "true" >                          < stripes:option value = "" label = "-- 請選擇 --" />                          < c:forEach items = " ${actionBean.menuItems } " var = "menuItem" varStatus = "rowstat" >   ...