How could you tell he was using Struts 1?

-Brian


On Thu, Dec 23, 2010 at 8:20 AM, Dave Newton <davelnew...@gmail.com> wrote:

> No no, I was asking why you're learning Struts 1 when there are a number of
> substantially better options available in today's modern era.
>
> Dave
>
> On Thu, Dec 23, 2010 at 8:51 AM, Amit Oberoi <aobe...@techmahindra.com
> >wrote:
>
> > Dave,
> >
> > I have just started few days back and am still picking it up. The only
> > reference I have is the tips and tricks available on different forums and
> > that is where I got this information.
> >
> > Do you have a better suggestion; or at least you can point me to a link
> > where I can go through few examples.
> >
> > Amit Oberoi
> >
> >
> > -----Original Message-----
> > From: Dave Newton [mailto:davelnew...@gmail.com]
> > Sent: Thursday, December 23, 2010 6:33 PM
> > To: Struts Users Mailing List
> > Subject: Re: RE: How do a create an Object of standalone java class in my
> > JSP page.
> >
> > Is there a reason you're using such old, clunky technology to write a new
> > app?
> >
> > Dave
> > On Dec 23, 2010 5:35 AM, "Amit Oberoi" <aobe...@techmahindra.com> wrote:
> > > Thanks Paul.
> > >
> > > I finally got to the <html:options> tag and has added the
> > getStreamNames()
> > function o the Action Form. I am sure this should work and would try as
> > soon
> > as I'm done fixing the current issues with my code.
> > >
> > > Amit Oberoi
> > >
> > >
> > > -----Original Message-----
> > > From: Paweł Wielgus [mailto:poulw...@gmail.com]
> > > Sent: Thursday, December 23, 2010 3:43 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: How do a create an Object of standalone java class in my
> JSP
> > page.
> > >
> > > Hi Armit,
> > > put this logic into getStreamNames() method located in your Action
> > > that leads to your jsp.
> > >
> > > Best greetings,
> > > Paweł Wielgus.
> > >
> > >
> > > 2010/12/23 Amit Oberoi <aobe...@techmahindra.com>:
> > >> Greeting All,
> > >>
> > >>
> > >>
> > >> I am new to Struts and developing my first web application. I have
> stuck
> > >> into a decisive loop where-in I'm confused as to how should I create
> an
> > >> object of a class in my standalone JSP page.
> > >>
> > >>
> > >>
> > >> What I want to do:
> > >>
> > >>
> > >>
> > >> 1.       I have a registerUser.jsp page which will accept userId,
> > >> Password, email and other relevant attributes to create an account.
> > >>
> > >> 2.       On the same page I am having a drop down (<html:select>) as
> > >> "Stream Name" which requests user to specify which Stream does he
> comes
> > >> from.
> > >>
> > >> 3.       The Values for this drop down has to come from the database;
> > >> for which I have create a standalone Java Class StreamList with a
> > >> function getStreamNames() which would return an ArrayList
> > >>
> > >> 4.       I want to create an object of the StreamList class and call
> the
> > >> function getStreamNames to populate the values for <html: select> drop
> > >> down.
> > >>
> > >>
> > >>
> > >> Can anyone assist me with a better approach to achieve this; my only
> > >> intention is to avoid writing snippets.
> > >>
> > >>
> > >>
> > >> Regards
> > >>
> > >>
> > >>
> > >> Amit Oberoi
> > >>
> > >>
> > >>
> >
> >
> ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="
> http://www.techmahindra.com/Disclaimer.html
> > ">
> > http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html";>
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> >
> >
> Mahindra.============================================================================================================================
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > > For additional commands, e-mail: user-h...@struts.apache.org
> > >
> > >
> > >
> >
> >
> ============================================================================================================================Disclaimer:
> > This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="
> http://www.techmahindra.com/Disclaimer.html
> > ">
> > http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="
> > http://tim.techmahindra.com/Disclaimer.html";>
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> >
> >
> Mahindra.============================================================================================================================
> >
> >
> ============================================================================================================================Disclaimer:
> >  This message and the information contained herein is proprietary and
> > confidential and subject to the Tech Mahindra policy statement, you may
> > review the policy at <a href="
> http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a
> href="
> > http://tim.techmahindra.com/Disclaimer.html";>
> > http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
> >
> Mahindra.============================================================================================================================
> >
>

Reply via email to