首页 \ 问答 \ 混合使用JSF1.2和JSF2(Mixing JSF1.2 and JSF2)

混合使用JSF1.2和JSF2(Mixing JSF1.2 and JSF2)

遗留Web应用程序正在使用带有facelets的JSF1.2。 由于应用程序的大小,将其升级到JSF2需要花费很多精力。 在过渡期间,是否可以在同一个Web应用程序中混合使用JSF1.2和JSF2?

我读过这篇文章: 在JSF2项目中混合使用JSP和XHTML(Facelets) - 可能吗?

但似乎更多的是将JSP应用程序转换为JSF2?

谢谢你的帮助。


The legacy web app is using JSF1.2 with facelets. Due to the size of the app, upgrading it to JSF2 would take extensive effort. Is it possible to mix JSF1.2 and JSF2 in the same web app during the transition period?

I read this post: Mixing JSP and XHTML (Facelets) in JSF2 Project - possible?

but it seems to be related more to converting a JSP app to JSF2?

Thanks for any help.


原文:https://stackoverflow.com/questions/18345343
更新时间:2022-04-18 17:04

最满意答案

感谢carlosfigueira,事实证明它是一个httponly cookie并且第二个请求使用相同的CookieContainer意味着第一个响应中收到的cookie随第二个请求发送出去,即使我无法以编程方式查看它。


Thanks carlosfigueira, it turns out that it was an httponly cookie and using the same CookieContainer for the second request meant that the cookie that was received in the first response was sent out with the second request, even though I couldn't see it programmatically.

相关问答

更多
  • 我刚打开解决方案,它工作正常。 我认为你的环境有问题。 从你看到的错误看来,你没有SDK 7.1 请下载并安装 。 I just opened solution and it works ok. I think you have problem with your environment. From errors you see it appears you have no SDK 7.1 Please download and install.
  • 唯一提供WS-Security实现(包括消息级加密,签名,X.509二进制令牌,SAML令牌)的MS API是WCF(WSE被WCF取代)。 对Silverlight的WCF客户端支持非常有限,除了UserNameToken配置文件外,它不支持WS-Security(=没有消息级加密,签名等)。 对WP7的支持应该相同甚至更糟。 所以我想消息安全没有开箱即用的支持,因为它依赖于.NET Framework的许多其他部分,也许还依赖于一些非托管代码。 你应该使用HTTPS。 顺便说一句。 我也没有看到任何支持 ...
  • 它正在等待这些标题 ..它有效 Uri u = new Uri("https://www.zomato.com/sk/brno/u-heligonky-z%C3%A1brdovice-brno-st%C5%99ed/denn%C3%A9-menu"); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(u); request.AutomaticDecompression = DecompressionMeth ...
  • HttpWebResponse.LastModified返回HTTP Last-Modified响应头的值。 HTTP响应头由发送响应的HTTP服务器设置。 如果它设置了Last-Modified响应头,并且它是否将其设置为准确值,它完全取决于服务器。 Last-Modified响应标头是HTTP中缓存验证模型的一部分。 它通常与If-Modified-Since请求头一起使用。 您可能需要阅读HTTP / 1.1,第6部分:缓存以了解详细信息。 HttpWebResponse.LastModified r ...
  • 将SmallChange和LargeChange属性设置为0.5 。 喜欢这个: 另外,你可以像这样处理ValueChanged事件: private void Slider_ValueChanged(object sender, RoutedPropertyChangedEventArgs e) { Slider.Value = Math.Round(e. ...
  • 你需要像这样发出异步请求: var webRequest = (HttpWebRequest)HttpWebRequest.Create(Url); webRequest.BeginGetResponse(new AsyncCallback(request_CallBack), webRequest ); 和响应处理程序: void request_CallBack(IAsyncResult result) { var webRequest = result.AsyncState as H ...
  • 我宁可认为你的事情过于复杂。 以下是一个非常简单的示例,它通过HTTPS从URI请求XML文档。 它将XML以字符串的形式异步下载,然后使用XDocument.Parse()加载它。 private void button2_Click(object sender, RoutedEventArgs e) { WebClient wc = new WebClient(); wc.DownloadStringCompleted += HttpsCompleted; ...
  • 我不知道为什么resp.Cookies没有任何cookie。 但是如果你观察resp.Headers有一个Set-Cookie值。 您可以使用它来检索响应中的Cookie。 使用以下代码行来获取cookie标头。 var cookieHeader = resp.Headers["Set-Cookie"]; 这会给你带来价值 csrf_token={sometokenvalue};Version=1;Domain=accounts.spotify.com;Path=/;Secure I am not su ...
  • 感谢carlosfigueira,事实证明它是一个httponly cookie并且第二个请求使用相同的CookieContainer意味着第一个响应中收到的cookie随第二个请求发送出去,即使我无法以编程方式查看它。 Thanks carlosfigueira, it turns out that it was an httponly cookie and using the same CookieContainer for the second request meant that the cooki ...
  • 给你几点指示...... 不幸的是Silverlight BlurEffect和其他Bitmap效果并没有进入Window Phone 7 ,所以你必须自己实现模糊。 这实际上非常简单,只需使用高斯卷积滤波器 。 要实现此效果,您可以将应用程序的视觉效果捕获到WriteableBitmap中,操纵图像以创建模糊,然后使用PopUp将此图像覆盖在应用程序上。 我在一篇关于飞出文本动画的博客文章中做了类似的事情: http://www.scottlogic.co.uk/blog/colin/2011/04/me ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)