Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Best Java/Struts Interview Ever?

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,758
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 30, 2011

Upload mp3s @ http://www.mp32tube.com Woefully unprepared interviewee flails in every area, at every level. One of the best things I've ever heard in my life, although my manatee managed to not complete crack up and/or flip out like I would have.

Category:

Music

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (davelnewton)

  • I appreciate the interviewers patience though

    

  • @AZBAJWA421 Yep, it was pretty remarkable--don't know how they did it.

  • What is the correct answer to that windows wizard question?

    I'm thinking have one ActionForm class that has maybe has a int property called "step" and then have individual Action classes per page that use the same ActionForm class to populate the 5 things per page and the last Action class the displays everything does a request.setAttribute(mapping.f­indblahlbah(forgot), formName); and in the jsp use el tag to display it like ${formName.fullname} or something like that?

  • @WestFlipian No right answer, just looking for how interviewee responds. And reacts to followup questions regarding implementation. Any answer that boils down to some form of state machine with state persisted somehow is basically correct. There are wrong answers, though.

    I'd follow up with: 1) how are you representing the wizard's flow in configuration and/or code, and 2) how might you implement this in a general way, like if you had a lot of multiple-screen interactions.

  • The picture is from istockphoto, if anybody cares. Not really the dude. Probably.

Top Comments

  • the sql question #1 was fucking awesome, i actually tried it and it fucking blew up, for those who wants to try too sentence is: SELECT, INSERT, ACTUALLY DELETE INSERT SELECT BY NAMESELECT (SOMESHIT ABOUT PARAMETERS) SELECT INSERT UPDATE (BY NAME!!!?) and shit goes on LOL

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • hahahahahahah he must be from railways department he always trying to point engines

  • Now why didn't he just say he didn't know?

  • @davelnewton sessions?

  • @davelnewton For when the user navigates through multiple pages, I'll just pass the step property through url parameter and have the Action class do request.getParameter("step") and set the value to the form

  • @davelnewton My answer to your follow up question, Now that I think about it, I would use struts-tiles and have multiple success forwards in one Action class. The one action class is the one that outputs the wizard's multiple screen depending on the ActionForm's step property which of course will be a html:hidden propert. So in the Action class there will be multiple "return mapping.findForward" which it knows which one to return depending on the form's step value.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more