人気の面接質問と回答・オンラインテスト
面接対策、オンラインテスト、チュートリアル、ライブ練習のための学習プラットフォーム

集中型学習パス、模擬テスト、面接向けコンテンツでスキルを伸ばしましょう。

WithoutBook は、分野別の面接質問、オンライン練習テスト、チュートリアル、比較ガイドをひとつのレスポンシブな学習空間にまとめています。

面接準備

JSP 面接の質問と回答

Test your skills through the online practice test: JSP Quiz Online Practice Test

関連する比較

関連する比較

JSF vs JSPJSP vs ServletsJSP vs ASP
PHP vs JSP

質問 46. How many JSP scripting elements and what are they?

There are three scripting language elements:
--declarations
--scriptlets
--expressions

役に立ちましたか? コメントを追加 コメントを見る
 

質問 47. Why are JSP pages the preferred API for creating a web-based client program?

Because no plug-ins or security policy files are needed on the client systems(applet does). Also, JSP pages enable cleaner and more module application design because they provide a way to separate applications programming from web page design. This means personnel involved in web page design do not need to understand Java programming language syntax to do their jobs.

役に立ちましたか? コメントを追加 コメントを見る
 

質問 48. Can we use the constructor, instead of init(), to initialize servlet?

Yes , of course you can use the constructor instead of init(). There?s nothing to stop you. But you shouldn?t. The original reason for init() was that ancient versions of Java couldn?t dynamically invoke constructors with arguments, so there was no way to give the constructur a ServletConfig. That no longer applies, but servlet containers still will only call your no-arg constructor. So you won?t have access to a ServletConfig or ServletContext.

役に立ちましたか? コメントを追加 コメントを見る
 

質問 49. How can a servlet refresh automatically if some new data has entered the database?

You can use a client-side Refresh or Server Push.

役に立ちましたか? コメントを追加 コメントを見る
 

ユーザー評価で最も役立つ内容:

著作権 © 2026、WithoutBook。