--- On Sun, 10/4/09, kaushal.sharma wrote:
> From: kaushal.sharma
> Subject: Re: In struts, How to solve this with Database and jsp?
> To: user@struts.apache.org
> Date: Sunday, October 4, 2009, 3:49 PM
>
> Hi Tommy,
>
> I know the fundamental of java, but quite new to struts.
>
> i know my a
Hi,
below is pseudo code for form representing new row:
< form action="yourInsertAction" >
< input type="text" value="...place row value here " name="rowValue" />
< input type="submit" value="add row" />
< /form >
then in Action:
DB.insertNewRow(myForm.getRowValue());
But i don't understand wha
Hi Pawel,
Thanks for your reply.
but not sure with this.
can you suggest me with some code as i have created to function for add and
delete a row in javascript, i need to send back the operations done on jsp
to my asction servlet with the values so that my servlet can updated the
database.
hop
Hi Kaushal,
You can treat a html form as a representation of a new row in Your
table (for example at the bottom of the table),
then this form can be submited to an AddRowAction and after inserting
this "new row" to a DB redirected back to ListRowsAction.
Also you can add link to edit properties of
Hi Paul,
Thanks for your prompt reply. i can understand you were in hurry for
something important. not a prob.
But as i am new to struts, i need suggestions with some code help. Hope you
can help me at this level.
-Thanks & Regards
Kaushal K. Sharma
Paul Benedict-2 wrote:
>
> Kaushal,
Hi Tommy,
I know the fundamental of java, but quite new to struts.
i know my action is getting the data from the database and populating the
jsp tabular form through a bean and same at reverse.
but my query is...
how to add a row/ delete a row /save complete form to/from my database
through a
Original Message
> From: kaushal.sharma
> To: user@struts.apache.org
> Sent: Sun, October 4, 2009 12:59:57 PM
> Subject: In struts, How to solve this with Database and jsp?
>
>
> Hi All,
>
> i am new to struts and i have a problem to store the values to my database
> and retrieve the
Hi All,
i am new to struts and i have a problem to store the values to my database
and retrieve the values to my jsp, hope you people can solve this
:confused:
i am getting the records from database to my jsp, in a tabular format as 1
Record in 1 ROW.
for ex.
>> First ROW Record >>
Original Message
> From: Scott Smith
> To: Struts Users Mailing List
> Sent: Fri, October 2, 2009 4:35:06 PM
> Subject: Dyanamic properties in Struts2
>
> Has anyone found a good way to do the following.
>
>
>
> I have a menu on a web page. The strings used to display menu items a
Kaushal,
I don't have time to read all the source you posted, but here's my
answers to your direct questions:
First : I need to populate the values from database to this jsp page
during the opening of this page
>> You need to have an action mapping for this. Something like /loadmydata.do
Se
I am on a Windows box and the permissions are the same as the
permissions version 2.1.6 which is working.
When I click the MD5 link I get a page not found so I can't check the
checksum.
On 10/3/2009 9:23 AM, Dale Newfield wrote:
Dan R. Olsen III wrote:
I moved the project to a path with no s
Hi,
Sorry to be late here, but i need an immediate help. I am new to struts and
recently put into a struts project.
FYI
I have a jsp file, where I am getting values from SQL SERVER 2000 database
using an Action Class and A Form Bean.
This jsp view is as a tabular format, where data is populated
12 matches
Mail list logo