fady005
Posts: 115
|
Posted: 03/02/2007, 5:29 AM |
|
Hello,
Do somebody know how to stock the value of a parameter that is going to change later...
Actually I have to make several selection in the same parameter but I have to show every choice on the page.
Thanks for your help.
_________________
Be inventive ! |
|
|
matheus
Posts: 386
|
Posted: 03/02/2007, 8:58 AM |
|
Maybe using session?
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
|
|
fady005
Posts: 115
|
Posted: 03/05/2007, 1:00 AM |
|
Can you develop please ?
Thanks
_________________
Be inventive ! |
|
|
matheus
Posts: 386
|
Posted: 03/05/2007, 3:34 AM |
|
Didn't are you the developer? I just give tips.
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
|
|
fady005
Posts: 115
|
Posted: 03/05/2007, 4:46 AM |
|
I agree but I didn't understood your tip... What's session ?
Thanks
_________________
Be inventive ! |
|
|
negociant
Posts: 31
|
Posted: 03/05/2007, 5:18 AM |
|
Perhaps better way is to reed some book about web development?
And ask question only after this?
|
|
|
matheus
Posts: 386
|
Posted: 03/05/2007, 5:23 AM |
|
Do you wanna stock the value of a parameter.
When? After a post?
After a loading?
Save in Session, using Action: "Save Control Value" or Save Variable Value" and choose Session in Listbox.
I cannot help more, if I don't know when do you wanna save this value.
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
|
|
fady005
Posts: 115
|
Posted: 03/05/2007, 6:54 AM |
|
Thanks Matheus !
As I read on the CCS Help what I need is "Save Control Value" But I don't know where and how should I use it (in Jsp main page or in Handlers page)... Should I use : HttpSession session = request.getSession(); Should I use cookies or URL rewriting ?
Actually I'll try to explain my application... I have to select a medical tool than it's characteristics than an option to this characteristic. For the first characteristic everything work fine but when I try to select another characteristic it replace the old one so I can't show all the characteristics at the same time.
Negociant could you advice me a good JSP book ? It would help me a lot.
_________________
Be inventive ! |
|
|
eserver220
Posts: 41
|
Posted: 03/06/2007, 12:47 AM |
|
Core servlets and jsp
|
|
|
eserver220
Posts: 41
|
Posted: 03/06/2007, 12:50 AM |
|
I hope the code below will give you some help:
SessionStorage.getInstance(e.getPage().getRequest()).setAttribute("uptmsg",mesg);
e.getControl().setValue(SessionStorage.getInstance(e.getPage().getRequest()).getAttribute("uptmsg"));
|
|
|
negociant
Posts: 31
|
Posted: 03/06/2007, 1:58 AM |
|
There is many greate java resources.
http://java.sun.com (Easy to guess) http://resources.coreservlets.com/jsp+servlet-books.html http://www-128.ibm.com/developerworks/views/java/library.jsp http://dev2dev.bea.com/
Here you can found mamy boocs, docs, articles and of course google groups. http://groups.google.com
About subjects... eserver220 right. Servlets and JSP core.
Wery helpfull, to read some white papers about it.
|
|
|
fady005
Posts: 115
|
Posted: 03/06/2007, 4:28 AM |
|
Thanks Eserver220 it's working wonderfully It's exactly the code that I was searching for.
Thanks Negociant for the sites...
_________________
Be inventive ! |
|
|