RE: Tiles scope headache assistance still needed.

2005-02-21 Thread Sab
Why are you trying to use page scope? I guess it will work for session -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 12:20 AM To: 'Struts Users Mailing List' Subject: RE: Tiles scope headache assistance still needed. The problem is that

Date class in java-help

2005-02-20 Thread Sab
I have the user enter the date in string format. I want to convert it to Date object. How do I do it? Also, please let me know if I use Date from util or Date from sql here? I have Hibernate database methods which will put date object in it.

Object in request

2005-02-13 Thread Sab
MyCart mycart = new MyCart(...); request.setAttribute(cart, mycart); is immediately visible to a JSP page which this servlet forwards to, using a standard action tag like this: jsp:useBean id=cart scope=request class=com.mycompany.MyApp.MyCart/ I have 2 layers One.jsp uses this mycart

Submit button and MyAction

2005-02-12 Thread Sab
I have a jsp with 2 buttons. (Update and Cancel buttons.) When 1 is clicked I want to check which button is clicked. If Update is clicked I want to forward to another jsp. How do we write generally to submit button on jsp page, and what we write in Action class's execute method? Appreciate your

Struts html tag question

2005-02-08 Thread Sab
How to show a basic struts text box and a checkbox? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: No form elements in the jsp- ActionForm

2005-02-07 Thread Sab
Smoak [mailto:[EMAIL PROTECTED] Sent: Saturday, February 05, 2005 8:56 PM To: Struts Users Mailing List Subject: Re: No form elements in the jsp- ActionForm From: Sab [EMAIL PROTECTED] I will have a jsp page which will get some results from database as a list. But now at present, I have

No form elements in the jsp- ActionForm

2005-02-05 Thread Sab
I will have a jsp page which will get some results from database as a list. But now at present, I have a button which is on this button. I would like to know what will the ActionForm subclass will be? I wrote jsp, Actionclass which takes the hidden name of event when button is passed and in

RE: Class not found error when action servlet starts up

2005-02-04 Thread Sab
Definetly struts config has not been set up properly. Or check your build you may be using. Hope this helps -Original Message- From: Soaring Eagle [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 2:32 PM To: user@struts.apache.org Subject: Class not found error when action

RE: newbie question

2005-02-04 Thread Sab
Check your xmlparser jar files you are using in your path. -Original Message- From: Soaring Eagle [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 1:53 PM To: user@struts.apache.org Subject: newbie question Hello, I am trying to write my first Struts application. I keep

Create a jsp page with 1 button

2005-02-04 Thread Sab
1How to create a jsp page in struts with it's mappings in config, if it has 1 button and no fields. When user clicks on button it will go to another webpage or action defined. 2It's going to be a jsp page which brings in rows of data with checkbox added to it's front.