-->
-->
 


.java Guidelines for Midterm Exam in JSP

April 30, 2008

 

April 30, 2008

Controller
—————-

-handles incoming web requests
-ControllerServlet
-converts requests to business functions
-parameter/s sent to the (request object, URL)
-RequestDispatcher (forward the request object to the calling/source JSP)

Remember:
Pure Logic - placed the managers
data/data structure - placed in the objects


database.java
—————–

-this helps your connect to the database
-inside the connections class
-don’t forget to do the DNS mapping
-change the values of string URL & string driver, as needed
-DSN is only for ODBC
-individual htmls should have "page"
    hidden fields & corresponding value,
    forms should have "post" as actions.
-contains the target pages(documents)
-use relative paths

Subscriber.java
—————–

-hold info about a subscriber
-no program logic
-private variables
-represents an object in a system
-toString() method (used for debugging)

SubscriberUsage.java
———————

- holds usage info

SubscriberManager.java
———————–

-gives data to Subscriber

UsageManager.java
——————-

-gives data to SubscriberUsage



Filed under JSP | Comments (0)

Asian Civ - Reaction Paper. The Last Samurai.

April 29, 2008

Questions:

 

 

1. Way of the Bohido (Boshido Code)

2. Why is the movie entitled "The Last Samurai"?

3. What is the role of the Samurai in Japanese society

4. How did the movie help you to better understand Japan?

 

Due on Friday. May 2 



Filed under Asian Civ | Comments (1)

JSP - Answers. to be passed on May 2

 

 

 

Download Here



Filed under JSP | Comments (0)

Asian Civ - Reaction Paper Assignment.

April 27, 2008

 

2 pages (maximum)

1. What is the concept of "All under Heaven"? Relate it to "Mandate of Heaven". 

2. 4 stages of swordsmanship

Answer:

First stage of swordsmanship requires the combination of man and sword.
Man is the sword, sword is the man.
Grass in the hand can be used as weapon too.
Second stage of swordsmanship requires sword in heart.
Bare hands could kill within 100 paces with the invisible sword.
The highest stage of swordsmanship, have no sword at all, neither in hands nor heart.
It is to comprehend everything liberally.
It is not to kill.
It is peace. 

-giingon sa King- 

3. How important is calligraphy for Chinese People?

4. Why is the movie titled "The Hero"? 

5. How did "The Hero" movie helped you understand China’s history?

 

1 paragraph each… 



Filed under Asian Civ | Comments (0)

India (Group 2) Report Slide Presentation

April 25, 2008

Click this link to download the file(PPT)!ü

In Word Doc 

thanks cheryl! c",)



Filed under Asian Civ | Comments (0)

JSP - Beans example [Hello user!]

April 24, 2008

 

 

 

 

 

Download Here



Filed under JSP | Comments (0)

Asian Civ- Japan reported by Group 1

Japan

 

 

 

 

 

Download Here 



Filed under Asian Civ | Comments (2)

JSP - Revalida

April 16, 2008

Answer this file. Then submit tomorrow. April 17, 2008

Download Here



Filed under JSP | Comments (0)

JSP Resources

April 14, 2008

Download Here



Filed under JSP | Comments (0)