Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
サーブレットの実行中にページをレンダリングし、ユーザーがfromをサブミットし、名前変更の実行でそのページが使用されるときに実行を続行したいのですが、これを行うことができますか?
それを2つのサーブレットにします(または1つのサーブレットで、フォームに追加の要求パラメーターを使用して2つのロジックを区別します)。
最初のサーブレットの変数を2番目のサーブレットで使用できるようにする場合は、Sessionを使用します。
セットは使用しています
request.getSession().setAttribute("name", var);
を使用して2番目のコードでそれを読みます
request.getSession().getAttribute("name");
私は以下を取得しています:
Can't create table 'tempabcd' (errno: 22)
このエラーは、次のクエリ (簡略化) が数千回実行された後に発生します
DROP TABLE IF EXISTS tempabcd; CREATE TEMPORARY TABLE tempabcd (id