• Post Reply Bookmark Topic Watch Topic
  • New Topic

mildly absurd, but...  RSS feed

 
Matt Horton
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will test this extensively later (ie whether or not the session is in a peculiar state before I visit this servlet, etc.)
but I'm getting some strange behavior, and I felt that before I lose 3-4 hours exhausting cases I would pose a few questions.
An initialization fn for a particular servlet is supposed to configure a few lineitems in a shopping cart for me (where the type of cart has a default # of lineitems, eg. 10). The initialization fn does not work.
However, when I insert our friendly

The logic magically executes. Is my code afraid of me? In a linear progression, I haven't shored up time for the logic; what is going on?
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi matt
where u r putting ur "fearing name"? :-)
please let us know little bit more about ur code and that magical println stmt (u can write partial code to us)...
thanks
maulin
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!