This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Servlets-4b Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Servlets-4b" Watch "Servlets-4b" New topic
Author

Servlets-4b

John Abong
Ranch Hand

Joined: May 14, 2007
Posts: 79
I'm working on Servlets-4b while awaiting nitpick on Servlets-4a. I want to refactor the code from Servlets-4a in small steps so I'm dancing around that working code so I don't break it. My thinking is that I can add logic around that code to effectively secure it without getting into an endless loop. It's not working.

I'm having a real tough time figuring out where to place the decision logic inside the servlet. I'm trying to think polymorphically and logically at the same time and getting all jammed up!

Knowing that the servlet demands an action, keeps pointing me to mess with my inner classes. I really don't want to do that, do I? :roll:
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
You might want something that all your inner classes have access to.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
wood burning stoves
 
subject: Servlets-4b
 
Similar Threads
4a passed ... where to send 4b?
Weird problem with Servlets 4A...
Servlets-4a
Servlets 4a blocked
Servlet-4b Question - password authentication architecture