multiple parameters

2002-06-24 Thread hans albers

Hi, there

the question has been asked often, but I didn't find a full example.

I have a List with names,ids and description,
they are shown in a table.
They must alle be passed in an html:link
Passing only 1 Parameter works, all the three?
I know that this works with java.util.map but how???



  
  
  




Would you be so kind and write me the code i need in the
Action which is executed before the jsp which shows the list?

Tanks in advance

Hans

_
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




multiple parameters

2002-06-24 Thread hans albers

Hi, there

the question has been asked often, but I didn't find a full example.

I have a List with names,ids and description,
they are shown in a table.
They must alle be passed in an html:link
I know that this works with java.util.map but how???






_
Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: 
http://messenger.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Error messages: other colo of input field label

2002-06-14 Thread hans albers

Hi there,

the error message at the top of the page about the fields
which are wrong is nice, but

is it possible to change the label color of the input fields
where the user made a wrong input, i've seen this on many
pages in the internet, can i do this with struts?

thanks

hans



_
Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: 
http://messenger.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




what is the right way (workflow)

2002-06-10 Thread hans albers

Please help me.

Is this the right workflow?
There should be some input fields in the firstpage, secondpage
which should be validated.

*
index.jsp --index.do (fills firstpageForm)->firstpage.jsp

firstpage.jsp ---firstpage.do (fills secondpageForm)--->secondpage.jsp

secondpage.jsp secondpage.do (fills thirdpageForm)-->thirdpage.jsp



or is the following correct...

**
index.jsp  firstpage.do (fills firstpageForm)--> firstpage.jsp

firstpage.jsp ---secondpage.do (fills secondpageForm)--> secondpage.jsp

secondpage.jsp --thirpage.do (fills thirdpageForm)-> thirdpage.jsp



Thanks a lot for your help

Hans




_
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




mapping-input

2002-06-10 Thread hans albers

hi there,

I want to validate my input, if there are any errors,
i get a server-error mapping-input is null.

How to do values come in  the mapping-input, in my mapping-path,
there is the correct path?

hans



_
Senden und empfangen Sie Hotmail über Ihr Mobilgerät: http://mobile.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Where to put the code for filling an ArrayList

2002-06-03 Thread hans albers

Hi there

I want a dropdown-box filled by a bean.

I fill the Arrraylist inside the jsp as you can see, but I don't
want to have this code in the jsp because the data later comes
from a database.
Where and how do I have to write this code (a...b) for the list be
accessed by the show.jsp?
In the showForm.java or showAction.java or in the Action.java of the
page before the show.jsp?

In my show.jsp:
<% //a
  java.util.ArrayList list = new java.util.ArrayList();
  list.add(new LabelValueBean("Art1", "a1"));
  list.add(new LabelValueBean("Art2", "a2"));
  list.add(new LabelValueBean("Art3", "a3"));
  session.setAttribute("my_list",list);
  // b
%>


  

  

_
Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: 
http://messenger.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




example: select filled by bean

2002-05-28 Thread hans albers

Hi there.

Has anybody an example for this?:

A JSP-Page with a list box which is filled by the
bean
I know this:





But I'm a little bit confused about all theese id's names and types
How to handle this with beans?

Please give me a simple working example (the jsp, the bean and what is
needed, too).

Thank you

Hans




_
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: