kavitha rama

Ranch Hand
+ Follow
since Jun 18, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kavitha rama

Hi,
Thanks for the reply. I wasn't sure whether we can set 'Reply-To', I checked API documentation and I got it.
Thanks,
Kavitha
20 years ago
Hi,
I am using javax.mail and activation package to send the email. I want to add Reply-To header in an email. How can I do that? Could some one please help me.
Thanks,
Kavitha
20 years ago
Hi,
I have a situation where I have a named anchors so that when clicked, should open in a new window, but I don't want each click open a different window each time, I want the same window to pop up to diffent position when clicked the named anchor. Can somebody please help. urgent.
Following is the link
<th align="right" width="25%">
<a href="requestform_helpdoc.html#orderDate" target="_self">
Order Date:</a></th>
named anchor which is a diffent file
<a name="orderDate"></a>
<dl>
<dt>Order Date:</dt>
<dd>Fills in automatically with today's date.</dd>
</dl>
What should be the target to open in same window and move to different position when link is clicked?
use out.println(e.getMessage());
20 years ago
JSP
Thanks David. I got it working finally. I checked support site for ingres as you suggested, Problem was jdbc server was not running and also port number was wrong. Thanks for the help
You could add jsp's under default-web-app and run them through a web browser.
20 years ago
JSP
Thanks for the link and also I was going through the struts tutorial, I found that perform is deprecated, from 1.1 onwards execute is used.
Thanks.
20 years ago
What is the difference between
public ActionForward perform(AtionMapping mapping,--- )
and public ActionForward execute(AtionMapping mapping,--- ) in Action class? which one should be used when.
I am little confused. Can someone please clarify.
20 years ago
Can we define a scrollable resultSet for a prepared statement? If so how? Please help
Hi David,
I executed code to see if it fails to load driver, but it doesn't complaint about loading driver, it loads successfully and complaints about getConnection as follows
"Unable to establish connection due to communications error"
I checked documentation from the link forwarded by you, syntax for URL was correct. Thanks for help.
Thanks for moving. Initially I didn't know that there was jdbc forum, so posted it in JSP, when i agian saw Jdbc forum, I posted it there too.
Thanks david, I'll follow ur code and try it.
Thanks for the information.
We r using oracle 9iAS, as we are using other jar files as well and they are working, I don't think problem is with placing jar file in right place.
Anyway i'll give a try. Thanks
Hi,
We have ingres database and our front end is java and jsp. Our development work is on one server and database is on different server.
When I execute following code, I don't see any exception at loading driver but I get run time exception at getConnection as follows
connection could not be established ca.edbc.util.EdbcEx: Unable to establish connection due to communications error
I got edbc.jar from ingres database,I copied edbc.jar to j2ee/home/lib directory. I don't understand what the problem is. Can somebody throw light on this please.
try {
Class.forName("ca.edbc.jdbc.EdbcDriver").newInstance();
}
catch (Exception ex) {
out.println("ClassNotFoundException: " +
ex.getMessage());
}
try {
con = DriverManager.getConnection(
"jdbc:edbc://ivie:II7/ivie::xxxx;UID=xxx;PWD=xxx");
}
catch(SQLException e)
{
out.println("connection could not be established " + e.toString() );
}
Hi,
I don't get Exception at loading driver, so I guess it is loading driver but throws exception at getConnection. I got edbc.jar with ingres database, so I coped it to /j2ee/home/lib/edbc.jar.
What else I need to do? Please help
Hi,
We have ingres database and our front end is java and jsp. Our development work is on one server and database is on different server.
When I execute following code, I get run time exception as follows
ca.edbc.util.EdbcEx: Unable to establish connection due to communications error
I copied edbc.jar to lib directory. I don't understand what the problem is. Can somebody throw light on this please.
try {
Class.forName("ca.edbc.jdbc.EdbcDriver").newInstance();
}
catch (Exception ex) {
out.println("ClassNotFoundException: " +
ex.getMessage());
}
try {
con = DriverManager.getConnection(
"jdbc:edbc://ivie:II7/ivie::xxxx;UID=xxx;PWD=xxx");
}
catch(SQLException e)
{
out.println("connection could not be established " + e.toString() );
}