www.webdeveloper.com
Results 1 to 3 of 3

Thread: Sending data from servlet to jsp

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Midrand South Africa
    Posts
    4

    Sending data from servlet to jsp

    Hi there

    I am trying to up the performance of my jsp.
    Is it better practice to send an Object Attribute containing values
    or sending a bunch of String Attributes?

    thax

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    I'd say single attribute(a collection may be?) is far better.
    Try using Struts instead of using plain old jsp pages,because scriptlets(Java code fragment in jsp) are considered very bad practice
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Oct 2004
    Location
    Midrand South Africa
    Posts
    4

    Wink

    I c

    I have looked at struts and I will try to implement it in my next project

    Thx again bye;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles