ページの先頭行へ戻る
Interstage Interaction Manager V9.1.1 Interstage Portalworksシナリオ作成支援ガイド

4.6.5 リポジトリ格納(storeDoc.jsp)

リポジトリ格納用のシナリオファイルには、以下を記述します。

<%@ page contentType="text/html; charset=Shift_JIS" %>
<%@include file="/scenario/docInit.jsp"%>

<pwst:prologueDoc/>

<pwst:content type="HTML" contentId="two"/>

<%
         String userid = (String)scenarioRequest.getParamValue("userid");
         String pw = (String)scenarioRequest.getParamValue("pw");

         // ユーザID
         Hashtable sub0 = new Hashtable();
         sub0.put("value", userid);
         sub0.put("name", "ユーザID");

         // パスワード
         Hashtable sub1 = new Hashtable();
         sub1.put("value", pw);
         sub1.put("name", "パスワード");
         sub1.put("isPassword", "true");

         // 代理入力情報の保存
         Hashtable param = new Hashtable();
         param.put("0", sub0);   // ユーザID
         param.put("1", sub1);  // パスワード
         scenarioUtil.setWinAppParam("TeamWARE", param);
%>

<pwst:epilogueDoc/>

<%-- メニュー画面へ戻る --%>
<jsp:forward page="menuDoc.jsp"/>