how to construct dynamic html:select html:options

2006-01-18 Thread Melih U. Unsal

my form will construct different number of combo boxes on the screen.
for example user will enter 3 and submit the form. then the coming form
will show 3 combo boxes.
how can i do that with struts. The number of combo boxes is not static
so i can not define to action form my combo boxes so can not create
setter and getter methods.

what is the way for that?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Jsp , struts page forward problem?

2006-01-12 Thread Melih U. Unsal
I am developing a web application with jsp and struts. (i am developing 
with websphere studio application developer).


My question is about forwarding between pages. I have 2 jsp pages. First 
one is user.jsp and the other one is useraddress.jsp


My first page (user.jsp) will show a user (only one user) in my database 
when loaded. I don't have problem with that, i can show the user on my 
user.jsp page.


At this page i can edit the user's name and surname values if i want 
to update these information. But If i want to edit address information 
of user, i have to that in another jsp page
and for that i want to use useraddress.jsp page. I want that when i 
click a button on my user.jsp ,useraddress.jsp page will be loaded 
and show the address information of user and provide me to update the 
address information. Then turn back to user.jsp. How can i do that?


How can i show the useraddress.jsp page when i clicked a button on my 
user.jsp. Which button must i use? (submit or another).
What can i do to not to lose information of user when i turned back to 
user.jsp from useraddress.jsp?







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]