• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Servlets-4b

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want something that all your inner classes have access to.
 
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic