Results 1 to 2 of 2
  1. #1
    superbg is offline Member
    Join Date
    Oct 2010
    Posts
    2
    Rep Power
    0

    Default servlet problem plz help

    hello everyone
    i have created a java application that has a textarea and a store and reset button below it....when i click on the store button(which has the submit property) the text gets append in the same line....but i want that they should some below the previous text...

    for eg
    1 hello and world when entered one after the another come as
    hello world

    i want them as
    hello
    world

    actually here i am overwriting the string ,that i have taken as static....thats why when i call a html page in pw.println of servlet with that static string it overwrites the previous value...what concept shuld i apply here....should i go for array or something.....plz help

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,842
    Rep Power
    19

Similar Threads

  1. servlet problem
    By vijayabaskar in forum Java Servlet
    Replies: 0
    Last Post: 04-29-2009, 09:34 AM
  2. problem compiling servlet
    By vivek_9912 in forum Java Servlet
    Replies: 1
    Last Post: 02-13-2009, 11:37 AM
  3. Servlet problem
    By maheshkanda in forum New To Java
    Replies: 5
    Last Post: 02-10-2009, 08:55 AM
  4. servlet Filter problem
    By saint_jorjo in forum New To Java
    Replies: 1
    Last Post: 03-13-2008, 12:05 PM
  5. Problem in Servlet with JDBC
    By *New Programer* in forum Java Servlet
    Replies: 2
    Last Post: 12-20-2007, 09:15 AM

Posting Permissions

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