相关疑难解决方法(0)

从JSF 1.2迁移到JSF 2.0

我正在使用JSF 1.2编写的一个相当大的应用程序.JSF 1.2现在已经有6年了.我需要升级到JSF 2.0.这会有多痛苦?我注意到自定义标签中的一些属性已被更改等.

java migration jsf jsf-2

133
推荐指数
3
解决办法
9万
查看次数

java.lang.NullPointerException at javax.faces.webapp.UIComponentClassicTagBase.setJspId

I have read this tutorials it's an ebook and I'm stuck at deploying the JSP page to my tomcat server by the way it's a jsp page but it's using JSF tags I already put my javax.faces-2.1.13 jar at the lib, where is should really belong to..

Here is my JSP page title hello.jsp:

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>

<html>
<head>
<title>JSF In Action</title>
</head>
<body>
<f:view>
    <h:form id="welcome-form"> …
Run Code Online (Sandbox Code Playgroud)

jsf jsp

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

jsf ×2

java ×1

jsf-2 ×1

jsp ×1

migration ×1