mahendranag manchinasetty

Greenhorn
+ Follow
since Dec 30, 2008
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 mahendranag manchinasetty

Hello ,,


i have a jsp which is having some fields,in that header level having some fields and grid level having some field,we are trying to implements both header level data and grid level data to save in single save right now we are using ajaxcall for that ,but some issue are coming ,in grid level data after refreshing only it will come and show the data. .. is any body know this procedure is right thing to make our project successfull or not .
14 years ago
HTTP Status 404 - Servlet action is not available

--------------------------------------------------------------------------------

type Status report

message Servlet action is not available

description The requested resource (Servlet action is not available) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.16

this is my error when iam adding data-source in struts-config.xml,,when i remove data-source it is working .how can i sloce this error ..any body give me sugesstion
15 years ago
Hello friends ,

my name is mahendranag,i lost my subscription code in my eclipse can any body tell me subscription code and subsriber name please...
Hello friends,

This is my error iam not getting any output iam getting this java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver .even i set class path also .i am getting this java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ..what to do with this.can any one slove this please.this is my program..


import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;

import javax.servlet.*;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;




public class getting extends HttpServlet
{
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
{
response.setContentType("text/html");
PrintWriter pw=response.getWriter();
Connection con = null;
String url="jdbc racle:thin:@localhost:1521 atab";
try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection(url,"scott","tiger");
PreparedStatement pst=con.prepareStatement("Select * from empsal");
ResultSet rs=pst.executeQuery();
ResultSetMetaData rsmd=rs.getMetaData();
int no=rsmd.getColumnCount();
pw.println(+no);
pw.println("The name of the columns are:
");
for(int i=0;i<=no;i++)
{
String s=rsmd.getColumnName(i);
pw.println(s);
}
}
catch(Exception e)
{
pw.println(e);
}

}
}

mahendranag@gmail.com
15 years ago