Die meistgefragten Interviewfragen und Antworten sowie Online-Tests
Lernplattform fur Interviewvorbereitung, Online-Tests, Tutorials und Live-Ubungen

Baue deine Fahigkeiten mit fokussierten Lernpfaden, Probetests und interviewreifem Inhalt aus.

WithoutBook vereint themenbezogene Interviewfragen, Online-Ubungstests, Tutorials und Vergleichsleitfaden in einem responsiven Lernbereich.

Interview vorbereiten

Probeprufungen

Als Startseite festlegen

Diese Seite als Lesezeichen speichern

E-Mail-Adresse abonnieren

JSP Interviewfragen und Antworten

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

Verwandte Vergleiche

Verwandte Vergleiche

JSF vs JSPJSP vs ServletsJSP vs ASP
PHP vs JSP

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

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

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 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.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 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.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 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.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Am hilfreichsten laut Nutzern:

Copyright © 2026, WithoutBook.