Scwcd

Servlets

Discussion about Servlets is done here

JSP

Discussion about JSPs is done here

JSTL

Discussion about Java Standard Tag Library is done here

General Web Programming stuff

How to have interapplication communication?
How you can pass a request from one web application to another application (by invoking a jsp for example).

Reply from Ben Souther, bartender of JavaRanch:
The war file isn't the application.It's the packaging.
The term you're looking for is 'context' which is synonymous with 'application' or 'web application'; often just called 'webapp' or 'app' for short.

Yes, you can use sendRedirect to redirect to a JSP in another context.
Because sendRedirect uses the browser to generate a new request, you can use it to redirect to any page, even pages outside your context, server, or domain.

The spec also makes it possible to forward to a resource in another context but security conscious containers don't allow this by default.

Reply from Ulf Dittmer, a bartender of JavaRanch:
You'll need to be more specific about what "pass data from my application to other" means - From java class to Java class? Through parameters in a link? An HTML form?

In general, there are any number of ways for two web apps to exchange data: through files, database, email, messaging, web service, RMI, HTTP, sockets, … What's appropriate really depends on the circumstances, about which you haven't said anything.

A search link in JavaRanch for the same - given by Ulf dittmer
Here you go : http://faq.javaranch.com/Search?search_words=communication+between+two+web+&match_all=yes&search_in=ALL&search_forum=50&search_forum=7&sort_by=DATE&search_date=ALL&search_member=&search_topics=ALL&submit=Search

How to cache the web pages in client machine (browser)'s session?
See this thread -> http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=020623

Dynamic Attributes

Tutorial on Dynamic Attributes by Byran Basham, a co-author of HFSJ book is here http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=18&t=006569

Patterns

Patterns by Marc Peabody is here -> http://faq.javaranch.com/java/PeabodyOnScwcdPatterns

SCWCD Tips, Preparations, Success Stories

  • adfad

Study Notes, Materials

SCWCD Mock Exam Links

*

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.