smitha mano

Ranch Hand
+ Follow
since Sep 26, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by smitha mano

Hi all,
Give me the solution. In my project i have a signup page. i filled it and to submit. this signup page reply is
going thru email. So client opend email, they will get an email, but,i wanted to here, top position company logo .
i wanted to reply of the signup page is company leter pad.
How can i get this?. I try this, but, i can't see the logo file(images). images are missing.
please help me......

**************
Here is the code of jsp
***************
<%@ page contentType="text/html; charset=" language="java" import="java.sql.*" errorPage="" %>
<html><head><title>Untitled Document</title>
<td><td height='16'>
<table width='75%' border='0'>

<tr>
<td><div align="center"><img src='../images/Logo.jpg' width='160' height='47'>
company logo here</div></td>
</tr>
<tr>

<td><img src='../images/jacob.jpg' width='85' height='114' align='left'>
Director Photo here</td>
</tr>
<tr>
<td><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>Dear "+name+",</font></td>
</tr>

<tr>
<td height='88' valign='top'><p><br>
"Here sometext" <font size='2' face='Verdana, Arial, Helvetica, sans-serif'><br>
</font></p>
</td>
</tr>
<br>

<tr>
<td><font size='2' face='Verdana, Arial, Helvetica, sans-serif'> Director</font></p><br></td>

<tr>
<td><p><strong>Click Here</strong>
<p> </td>
</tr>

</table>
<tr>
<tr>
<td height='16'> </td>
</tr>
<tr><td height='16'><div align='center'></div></td>
</tr>
</body></html>
19 years ago
Im my table Content is a field. its contains text field.

in my struts jsp form enter a 1000 characters and above.
when the user enter this field, not allow to enter their email address and phone numbers.

My question is when the user enter and submit on the page, how to check the text contains email id and phone numbers are entered in the text field.

please help me
19 years ago
Does anybody know how to detect when the user click on the back button to go back to the previous page?
Or a way to refresh a jsp page whenever it's loaded?

please give me the solution
19 years ago
In my PostgreSQL TestDate is the datatype is date.

this field stored in the date format is 2005-11-20.

the date change to 20-11-2005.

I tried many way. but i can't do it

please help me table stored date yyyy/mm/dd is 2005-11-20

i needed to convert this format means dd/mm/yyyy 20-11-2005
19 years ago
i am using postesql 8.1.

in my table test have one field insertdate its data type is "date".

manually i entered a date, 29-11-2005 , i got error

AN error has occured.
ERROR: date/time field value out of range:"29-11-2005"
HINT: perhaps you need a different "datestyle"setting.


when i entered this way date 2005-11-29 its stored in the table.

but actually i needed, in sql query, 29-11-2005 format. how i can retrive date format 2005-11-29 to 29-11-2005?

please help me
19 years ago
i am using postesql 8.1.

in my table test have one field insertdate its data type is "date".

manually i entered a date, 29-11-2005 , i got error

AN error has occured.
ERROR: date/time field value out of range:"29-11-2005"
HINT: perhaps you need a different "datestyle"setting.


when i entered this way date 2005-11-29 its stored in the table.

but actually i needed, in sql query, 29-11-2005 format. how i can retrive date format 2005-11-29 to 29-11-2005?

please help me
[ November 29, 2005: Message edited by: Bear Bibeault ]
how to create a custom tag in struts using in eclipse


please give me the tutorials
19 years ago
Hi all

I wanted to search a value from the table and after updating that particular record. How can i do in struts actionclass

Enter name : a
Enter age : 30

here i entering the name and age then click on the button the it will display all records from the table. name field starting value is a. in my table contains lots of a starting name. how can i retrieve this

please help me
19 years ago
list.jsp
<body>
<logic resent name="dList">
<table width="76%" border="0" align="center">
<tr>
<tr>
<td bgcolor="#F2F2F2"><strong>Id</strong></td>
<td bgcolor="#F2F2F2"><strong>Name</strong></td>
<td bgcolor="#F2F2F2"><strong>Qualification</strong></td>
<td bgcolor="#F2F2F2"><strong>Experience</strong></td>
</tr>
</tr>
<logic:iterate name="dList" id="lt">
<tr>
<td><html:link action="myAction.do?action=view&id=${lt.id}">${lt.id}</html:link></td>
<td>${lt.name}</td>
<td>${lt.qual}</td>
<td>${lt.Exp}</td>
</tr>
</logic:iterate>
</table>
</body>

in my list.jsp contian this fields. it displays
as follows design

<table width="34%" border="0" align="center">
<tr>
<td width="6%"><strong> Id</strong></td>
<td width="54%"><strong> Name</strong></td>
<td width="13%"><strong>Qualification</strong></td>
<td width="27%"><strong> Experience</strong></td>
</tr>
<tr>
<td><div align="center">1</a></div></td>
<td>Anu Elias</td>
<td>MCA</td>
<td>4</td>
</tr>
<tr>
<td><div align="center">2</a></div></td>
<td>Martin Kurian</td>
<td>B.Tech</td>
<td>6</td>
</tr>
<tr>
<td><div align="center">3</a></div></td>
<td>Rajesh George</td>
<td>MCA</td>
<td>7</td>
</tr>
<tr>
<td><div align="center">4</a></div></td>
<td>Jacob</td>
<td>Ph.D</td>
<td>8</td>
</tr>
<tr>
<td><div align="center">5</a></div></td>
<td>Feena</td>
<td>BCA</td>
<td>4</td>
</tr>
<tr>
<td><div align="center">6</a></div></td>
<td>Sachit George</td>
<td>M.Phil</td>
<td>4</td>
</tr>
</table>
************************************
but i wanted to display given below and also when i click on the heading like( id, name,qualification,experience ) id it will sort by order
and below the design in table each rows
please help me
<table width="34%" border="0" align="center">
<tr>
<td width="6%"><strong> Id</strong></td>
<td width="54%"><strong> Name</strong></td>
<td width="13%"><strong>Qualification</strong></td>
<td width="27%"><strong> Experience</strong></td>
</tr>
<tr>
<td bgcolor="#F5F5F5"><div align="center">1</a></div></td>
<td bgcolor="#F5F5F5">Anu Elias</td>
<td bgcolor="#F5F5F5">MCA</td>
<td bgcolor="#F5F5F5">4</td>
</tr>
<tr>
<td><div align="center">2</a></div></td>
<td>Martin Kurian</td>
<td>B.Tech</td>
<td>6</td>
</tr>
<tr>
<td bgcolor="#F5F5F5"><div align="center">3</a></div></td>
<td bgcolor="#F5F5F5">Rajesh George</td>
<td bgcolor="#F5F5F5">MCA</td>
<td bgcolor="#F5F5F5">7</td>
</tr>
<tr>
<td><div align="center">4</a></div></td>
<td>Jacob</td>
<td>Ph.D</td>
<td>8</td>
</tr>
<tr>
<td bgcolor="#F5F5F5"><div align="center">5</a></div></td>
<td bgcolor="#F5F5F5">Feena</td>
<td bgcolor="#F5F5F5">BCA</td>
<td bgcolor="#F5F5F5">4</td>
</tr>
<tr>
<td><div align="center">6</a></div></td>
<td>Sachit George</td>
<td>M.Phil</td>
<td>4</td>
</tr>
</table>
19 years ago
MY application have a table named Test
in jsp page shows thru the action then displays the details of a person
Test table contains id,name,designation,experience . i have 10 records in this
table.
id name designation experience
1 Anil Software Engineer 4
2 Benil Project Leader 10
3 Anilmon Designer 3
4 Rajesh Software Engineer 5
5 Manoj Content writer 2

in my problem
in struts jsp , when i clicking on the heading it will needed to sort listed
on the click head.

how to solve this?
please help me with source code.
thank you
19 years ago
Struts logic iterate problems


in my programe wanted to iterate to display table form list values.like 4 columns and 3 rows.

table

<body>
<table width="75%" border="0">
<tr>
<td>record1</td>
<td>record2</td>
<td>record3</td>
<td>record4</td>
</tr>
<tr>
<td>record5</td>
<td>record6</td>
<td>record7</td>
<td>record8</td>
</tr>
<tr>
<td>record9</td>
<td>record10</td>
<td>record11</td>
<td>record12</td>
</tr>
</table>
</body>


these records view from the a table value.

How to solve this. please help me
19 years ago
Struts logic iterate problems


in my programe wanted to iterate to display table form list values.like 4 columns and 3 rows.

table

<body>
<table width="75%" border="0">
<tr>
<td>record1</td>
<td>record2</td>
<td>record3</td>
<td>record4</td>
</tr>
<tr>
<td>record5</td>
<td>record6</td>
<td>record7</td>
<td>record8</td>
</tr>
<tr>
<td>record9</td>
<td>record10</td>
<td>record11</td>
<td>record12</td>
</tr>
</table>
</body>


these records view from the a table value.

How to solve this. please help me
19 years ago
CREATE TABLE special
(
id serial NOT NULL,
specialname varchar(50),
CONSTRAINT special_pk PRIMARY KEY (id)
)
eg

1 aaa
2 bbb
3 ccc

CREATE TABLE person
(
id serial NOT NULL,
name varchar(60),
qualification varchar(100),
exp int4,
history text,
CONSTRAINT person_pk PRIMARY KEY (id)
)

eg

100 arun
101 ram
103 manoj

CREATE TABLE person_spec_group
(
fk_person int4 NOT NULL,
fk_special int4 NOT NULL,
CONSTRAINT person_spec_group FOREIGN KEY (fk_person) REFERENCES person (id) ON UPDATE RESTRICT ON DELETE RESTRICT,
CONSTRAINT special_spec_group FOREIGN KEY (fk_special) REFERENCES special (id) ON UPDATE RESTRICT ON DELETE RESTRICT
)

eg

100 1
100 2
100 3

101 2
101 3

102 1


special table
to store the specialname
person table to store the details of a person
person_spec_group table to store the ids of special table and id person table

action

from my struts jsp page contain and display details of a person and one list box, it containing a specialname.

when the user click or select on the list box, it may be multiple selection.
then submit, then that time will store id of person and id of special into the person_spec_group table

in this case result is give below
please help me in this problem

eg

100 1
100 2
100 3

101 2
101 3

102 1


How to works this or how to write action class and SQL query?
19 years ago
CREATE TABLE special
(
id serial NOT NULL,
specialname varchar(50),
CONSTRAINT special_pk PRIMARY KEY (id)
)
eg

1 aaa
2 bbb
3 ccc

CREATE TABLE person
(
id serial NOT NULL,
name varchar(60),
qualification varchar(100),
exp int4,
history text,
CONSTRAINT person_pk PRIMARY KEY (id)
)

eg

100 arun
101 ram
103 manoj

CREATE TABLE person_spec_group
(
fk_person int4 NOT NULL,
fk_special int4 NOT NULL,
CONSTRAINT person_spec_group FOREIGN KEY (fk_person) REFERENCES person (id) ON UPDATE RESTRICT ON DELETE RESTRICT,
CONSTRAINT special_spec_group FOREIGN KEY (fk_special) REFERENCES special (id) ON UPDATE RESTRICT ON DELETE RESTRICT
)

eg

100 1
100 2
100 3

101 2
101 3

102 1


special table
to store the specialname
person table to store the details of a person
person_spec_group table to store the ids of special table and id person table

action

from my struts jsp page contain and display details of a person and one list box, it containing a specialname.

when the user click or select on the list box, it may be multiple selection.
then submit, then that time will store id of person and id of special into the person_spec_group table

in this case result is give below
please help me in this problem

eg

100 1
100 2
100 3

101 2
101 3

102 1


How to works this or how to write action class and SQL query?
19 years ago
I have a page that displays a table with strings coming from collections in multiple columns. When i click on the header, i want the table to be sorted by that column. Can anyone please give me a sample code for the same. This is urgent.

The data table is like: table name is in postgresql : mydata

Company Name Name Email Id Address
--------------------------------------------------------------
TEST COMP Ravi [email protected] loc1,
COMP ABC Kiran [email protected] loc2,

When i click on the Company Name, i want the table to be sorted by the Company name column.

using with struts jsp .
19 years ago