質問編集履歴
3
質問修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
JavaEE7の学習中です。まずはJSFとバッキングビーンの紐付けを確認しようとして、以下のファイルを作成しglassfishにデプロイしました。
|
2
2
|
|
3
|
+
h:commandButtonでactionを実行しても期待の結果(遷移)になりません。
|
4
|
+
|
3
|
-
|
5
|
+
exceptionが発生し、どうやらJSFがbeanを見つけられていないようです。
|
4
6
|
|
5
7
|
|
6
8
|
|
2
余分な記述の削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,8 +52,6 @@
|
|
52
52
|
|
53
53
|
return "/login/hogehoge?faces-redirect=true";
|
54
54
|
|
55
|
-
// return "/login/" + name + "?faces-redirect=true";
|
56
|
-
|
57
55
|
}
|
58
56
|
|
59
57
|
|
1
exception 追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -157,3 +157,51 @@
|
|
157
157
|
</web-app>
|
158
158
|
|
159
159
|
```
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
```
|
166
|
+
|
167
|
+
// exception
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
type Exception report
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
messageInternal Server Error
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
exception
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
javax.servlet.ServletException: /login.xhtml @17,67 value="#{loginBean.name}": Target Unreachable, identifier 'loginBean' resolved to null
|
190
|
+
|
191
|
+
root cause
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
javax.el.PropertyNotFoundException: /login.xhtml @17,67 value="#{loginBean.name}": Target Unreachable, identifier 'loginBean' resolved to null
|
196
|
+
|
197
|
+
root cause
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'loginBean' resolved to null
|
202
|
+
|
203
|
+
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1.1 logs.
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
```
|