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.
ジャージーPUTリクエストでは、cURLのデータ入力としてxmlファイルを渡しています。
JAXBはすべての非true値をfalseに変換するため、xml入力ファイルの特定のブール値をどのようにテストする必要がありますか。タグが存在しない場合でも、値はfalseになります。
プリミティブ boolean の代わりにオブジェクト型 Boolean を使用して属性を宣言してみてください。