Why don't you save the data in a XML document? Then, you can sort the
information as you want in the presentation layer with any criteria.

I hope this help

-----Mensaje original-----
De: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]En nombre de
Goulas, Theodor
Enviado el: jueves, 23 de agosto de 2001 13:44
Para: [EMAIL PROTECTED]
Asunto: Preventing Servlet perform some action. Advice needed!


Hello everyone,

is this any way to access a generated html?
Well let me explain you better, what I want to do.
I have an Html file, which contains 3 Frames. The left one has some form
element in it. The user can give name, date, ...what ever. Then the
information is send to the server via servlet. The information is also
saved in a text file. I've placed a button on the left, which "collect"
the data from the text file and print them in the frame on the right.
    Now at the bottom of the right side there is another frame which
contains 2 buttons. These buttons suppose to perform some sorting
functions. The information in the file is searched with an enumeration
and placed in a hashtable. The information is only names and date.
Then the data will be sorted and  placed on the frame in a sorted order.

My question is: Can I prevent the sorting of the data, if the user did
not press any button to see the information contained in the text file?
I thought of placing some sort of flags in the generated file and check
this out, but I think that this is not possible. Is there any way to
achieve this

Thanks in advance
-Theo

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to