Re: Struts creates its own session object?

2006-01-23 Thread Vikrama Sanjeeva
Hi, Thanks for the good explanation. Bye, Viki. On 1/19/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/19/06, Martin Morawetz [EMAIL PROTECTED] wrote: Hi, We have two web applications, a Struts-application and a strutsless application. Both web applications have to use the

Re: file upload via struts

2006-01-19 Thread Vikrama Sanjeeva
Hi, Good and complete example is here: http://www.roseindia.net/struts/strutsfileupload.shtml and check this too: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=next_topicf=58t=006647go=older At the end of the day, you need to code Java I/O for file (s) manipulation. If you read

Re: move from PHP to Struts

2006-01-05 Thread Vikrama Sanjeeva
Hi, I want to share my exp. with Bogdan. I m also new to struts. I started it with sound backround in Java, JSP and Servlets. I read various articles on struts and it's benefits and then I deployed Lesson 1 from Rick's tutorial. Initially I face some problems in understanding struts framework

Re: [FRIDAY] You might be a geek if ...

2005-12-31 Thread Vikrama Sanjeeva
Happy New Year to everbody Bye, Viki. On 12/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yeah, good warning. I know this is a joke thread, but if that second one is true, Frank, I suggest you burn that Serenity DVD while it still matters! While you're at it, just throw the freakin'

Re: pre-populating form fields when called in edit mode.

2005-12-27 Thread Vikrama Sanjeeva
. However, being a junior developer, I'm always looking for effecient and recommended development approaches by senior developer's community. Bye, Viki. On 12/28/05, Rick R [EMAIL PROTECTED] wrote: Vikrama Sanjeeva wrote: Having separate Actions for insert, update and delete is better

Re: pre-populating form fields when called in edit mode.

2005-12-26 Thread Vikrama Sanjeeva
as looking for an employeeID .. if you have one then you know you are doing an update... if you don't than you are doing an insert, but of course there are plenty of other ways to do it as well. On 12/25/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: Hi, Here is the sequence: 1

Re: Discussion forum software -- open source

2005-12-26 Thread Vikrama Sanjeeva
I'm not aware of any such forum. But I would vote to convert this Struts Users Mailing List user@struts.apache.org to dicussion forum like: http://saloon.javaranch.com It will be more easy to read and keep track of individual posts. Is there any software for reading posts mailed in this

Re: text field not populating after validate() fails.

2005-12-25 Thread Vikrama Sanjeeva
adopt the right approach for future struts based development. Thanks guys for discussing this topic. Bye, Viki. On 12/24/05, Rahul Akolkar [EMAIL PROTECTED] wrote: On 12/24/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: H, Rahul: The pull-down menus are prepopulated using the session

pre-populating form fields when called in edit mode.

2005-12-25 Thread Vikrama Sanjeeva
Hi, Here is the sequence: 1: User fill up's employeeForm.jsp which have multiple text fields, radio buttons, text area's and dropdowns. 2: On pressing Submit button in employeeForm.jsp, InsertEmployeeAction is called which do the following: 2.1) BeanUtils.copyProperties( employeeDTO,

Re: Problem in img src=img.gif path?

2005-12-24 Thread Vikrama Sanjeeva
, it is relative path problem? Bye, Viki. On 12/23/05, Laurie Harper [EMAIL PROTECTED] wrote: Vikrama Sanjeeva wrote: Hi, The myForm.jsp is called when a user clicks a link in another JSP. Here is the flow: 1. User click the link in home.jsp . html:link page=/do/SetUpMyFormMy Form

Re: text field not populating after validate() fails.

2005-12-24 Thread Vikrama Sanjeeva
request to session and it is working fine now. But question is, why it is not working with scope=request? Bye, Viki. On 12/24/05, Rick Reumann [EMAIL PROTECTED] wrote: On 12/21/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: I have a form which consists of pull-down menus, radio button, text area

Re: text field not populating after validate() fails.

2005-12-22 Thread Vikrama Sanjeeva
? Bye, Viki. On 12/22/05, Laurie Harper [EMAIL PROTECTED] wrote: You shouldn't need either name or type, Struts will derive both from the configuration. Since you say that's working OK for you, why are you trying to add them? L. Vikrama Sanjeeva wrote: Hi, I have a form which

Re: Problem in img src=img.gif path?

2005-12-22 Thread Vikrama Sanjeeva
the html:base tag, but it's not clear to me how to use this tag in calling img src=img.gif Can you give any related example? Bye, Viki. On 12/22/05, Laurie Harper [EMAIL PROTECTED] wrote: Vikrama Sanjeeva wrote: Hi, I've img.gif and and myForm.jsp in same folder. But when I call

text field not populating after validate() fails.

2005-12-21 Thread Vikrama Sanjeeva
Hi, I have a form which consists of pull-down menus, radio button, text area and text fields. The form takes all the required input fields from user, validate them and if validation fail's, the same form is called with pre-populated values (as entered 1st time by user). This is true when there

Problem in img src=img.gif path?

2005-12-21 Thread Vikrama Sanjeeva
Hi, I've img.gif and and myForm.jsp in same folder. But when I call the img.gif with following path, it does not display in myForm.jsp. here it is: html:text property=date /html:text img src=img.gif id=f_trigger_c style=cursor: pointer; border: 1px solid red;