顧客が既存のその情報を登録または更新したい場合には、UserRegistrationForm.jsp を使用します。 このページによって、ユーザー名前、年齢、性別、電話番号、パスワード、および優先言語などの個人情報を入力することができます。 顧客は使用可能な言語のリストから優先言語を選択する時に、これを使用して、そのページを表示する表示フォーマットを決定します。
UserRegistrationForm.jsp はプロパティー・ファイルを使用して、文化に依存するコンテンツを決定します。 このサンプルのすべてのプロパティー・ファイルは単一のディレクトリーにありますが、それを適用する表示フォーマットにより、ファイル名が異なります。
プロパティー・ファイル
以下のプロパティー・ファイルは UserRegistrationForm.jsp ファイル用に準備されました。
サンプルのすべてのプロパティー・ファイルは、以下のディレクトリーにあります。
drive:\WebSphere\CommerceServer\samples\Properties
drive:\Program
Files\WebSphere\CommerceServer\samples\Properties
/usr/WebSphere/CommerceServer/samples/Properties
/opt/WebSphere/CommerceServer/samples/Properties
/QIBM/ProdData/WebCommerce/samples/Properties
クラス
UserRegistrationForm.jsp は以下のクラスをインポートします。
<%@ page import="javax.servlet.*" %>
<%@ page import="java.util.*" %>
<%@
page import="com.ibm.commerce.command.*" %>
<%@ page import="com.ibm.commerce.server.*" %>
<%@ page import="com.ibm.commerce.beans.*" %>
<%@ page import="com.ibm.commerce.user.beans.*" %>
<%@ page import="com.ibm.commerce.user.objects.*"
%>
<%@ page import="java.util.*" %>
<%@ page import="com.ibm.commerce.datatype.*" %>
<%@ page import="com.ibm.commerce.usermanagement.commands.ECUserConstants" %>
コマンド
UserRegistrationForm.jsp は以下のコマンドを使用します:
bean
UserRegistrationForm.jsp は以下の bean を使用します:
インプリメンテーション詳細情報
生成された HTML 出力
以下のファイルはこの JSP ページで生成された HTML 出力のサンプルです。
機能システムでは、これらのページは HTML ファイルとしては保管されませんが、View コマンドの使用要求に応えて、生成されます。
このサンプルで生成された HTML 出力ファイルは、以下のディレクトリーにあります。
drive:\WebSphere\CommerceServer\samples\web\Registration
drive:\Program
Files\WebSphere\CommerceServer\samples\web\Registration
/usr/WebSphere/CommerceServer/samples/web/Registration
/opt/WebSphere/CommerceServer/samples/web/Registration
/QIBM/ProdData/WebCommerce/samples/web/Registration
![]() |