Geeta Ravikanti

Ranch Hand
+ Follow
since Mar 26, 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 Geeta Ravikanti

Thank you for the sending that link.
But I already go through the link.
In this I dint find about posting the jar and jad files and setting the MIMT types.
Can you post any another url.

Thanks& Regards
Geeta
15 years ago
Thank you for the reply,

I dont know any thing about web server,I have dought is it web site and web server is same ,actually my project is related to the mobile applications ,in this we have create the web server and host the jar and jad files ,but I dont know nohing about the web server,
i.e creation of web server and hosting the jar and jar files,setting MIMIE types.Just I know what are the steps to do.But I dont know about them completeply,
Please can any one explain in detail

Thanks and Regards
Geeta R
15 years ago
Hi All,

Please can any one tell about webserver.I don't know any thing in the webserver.How to create,and how to host the jar file and jad files in the webserver.
I already posted this question in another topic,But this topic is moved ,I don't know where it is moved.

Please any one help in this,

Thanks in Advance,
Geeta
15 years ago
Hi All,
Please any one say about web servers ,why we can use this,and where we can use this,and can we get free webserver for hosting the jar and jad files
if it is can you tell me how.

Please any body help in this,


Thanks in Advance,
Geeta

[ Edited to fix shouting in subject - Paul Sturrock ]
[ May 09, 2008: Message edited by: Paul Sturrock ]
15 years ago
Hi All,

I am creating the Website using strtus2
But I want to incorporatet the .net tool in my project
Is it possible to run the .net tool in my website which is developed by using the Java Laguage

Plese any one give the suggestions in this

Thanks & Regards
Geeta
15 years ago
Thank you for the reply

I am calling the Action class(LogOut.java) in jsp page like following

<%@ taglib prefix="s" uri="/struts-tags" %>

Welcome
<s roperty value="username"/>,
<br>
<br><br><br>
<a href="<s:url value = "/myjsp/remora.jsp"/>">Home</a>
<a href="<%= request.getContextPath() %>/LogOut.action">Logout</a>

LogOut.java

package org.students;

import javax.servlet.http.*;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ActionContext;
import java.util.*;

public class LogOut extends ActionSupport {
public String execute() throws Exception {
Map session = ActionContext.getContext().getSession();
session.remove("logged-in");
return SUCCESS;
}
}

if its reun successfully it goes to checkLogin.jsp according to struts.xml

<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" contentType="text/html" import="java.util.*"%>
<html>
<head>
<title>Check validate!</title>
</head>
<body>
//<s:if test="#session.login != 'admin'">
<jsp:forward page="/remora.jsp" />
</s:if>
</body>
</html>



here strtus.xml

<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="org.students" extends="struts-default">
<action name="RegisterUser" class="org.students.RegisterUser">
<result name="success">/myjsp/Success.jsp</result>
<result name="error">/myjsp/RegisterUser.jsp</result>
<result name="input">/myjsp/RegisterUser.jsp</result>
</action>
<action name="LogonUser" class="org.students.LogonUser">
<result name="success">/myjsp/LogonSuccess.jsp</result>
<result name="error">/myjsp/LogonUser.jsp</result>
</action>

<action name="LogOut" class="org.students.LogOut" >
<result name="success" type="redirect">/myjsp/checkLogin.jsp</result>
</action>
<action name="User" class="org.students.User">
<result name="success">/myjsp/Success.jsp</result>
<result name="error">/myjsp/User.jsp</result>
<result name="input">/myjsp/User.jsp</result>
</action>
<action name="*" >
<result>/myjsp/(1).jsp</result>
</action>
</package>
</struts>



here its my project structure

where can I made the changes
please any one help in this


Thanks&Regards
Geeta
15 years ago
Hi All,
I am doing the program for login/logout in strtus2
But when ever I am executing the program from tomcat server
its throwing the exception like following

java.lang.IllegalArgumentException: The execute() is not defined in action class org.students.LogOut
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:363)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:228)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:202)
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:177)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:200)
etc..................


here LogOut.java


package org.students;

import javax.servlet.http.*;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ActionContext;
import java.util.*;

public class LogOut extends ActionSupport {
public String execute() throws Exception {
Map session = ActionContext.getContext().getSession();
session.remove("logged-in");
return SUCCESS;
}
}

when ever above program is run sceesfully it will go to chechkLogin.jsp

here chechkLogin.jsp

<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" contentType="text/html" import="java.util.*"%>
<html>
<head>
<title>Check validate!</title>
</head>
<body>
//<s:if test="#session.login != 'admin'">
<jsp:forward page="/remora.jsp" />
</s:if>
</body>
</html>


I am unable to getting what are the modifications I have to made in above programs

Please any one help in this

Thanks&Regrads
Geeta
15 years ago
Hi all,

I want to link the jsp page in the HTML tag
i.e when I clicked the tab it has go to the jsp page
In general we wrote any link like following

<LI><A href="http://www.dynamicdrive.com/forums/">Forums</A>

i.e when I clicked on the forums tab it will directly goes to the related website
but I want link forums tab with JSP page
For this I wrote like this

<LI><a href="<s:url value="User.jsp"/>">Forums</A></li >

but its showing error(i.e red color line)

Any Help in this its highly appriciated

Regards
Geeta R
Hi All,
I am doing progrma in struts,in this am entering the data into the database
what is my problem is when ever I am running the program and after giving the login detals it is taking much time to process the data
On the progress bar its stopped in middile its is not going forward and not insertign the data
Previously I did this program properly
But now I am getting this problem
I dont know why its happing like this
Is there any duration for running the tomcat
I dont know how to solve this problem

Please any one help in this

Regards
Geeta
15 years ago
Hi All,
I am using eclipse 3.1 and tomcat 6
But eclipse providing the tomcat version upto 5 only(tomcat 5x)
how to update tomcat 6 in eclipse 3.0
Please any one give teh steps for this

Thanks in Advacne
Geeta
Sorry for those things
From next time on wards I will never try to repeat that mistakes
I dont know what is UBB code tags
how can I post the code


Regards
Geeta
15 years ago
JSP
Yes i am using setters and getters in the program

this is the program

RegisterUser.java

package org.students;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;

import org.common.MyUtility;

import com.opensymphony.xwork2.ActionSupport;

public class RegisterUser extends ActionSupport {

private String username;
private String password;
private String email;
private int age;
private String status="";

public String execute() throws Exception {
if(isUserExists()){
setStatus("Oops! User Already Exists!");
return ERROR;
}
Connection con = MyUtility.getConnection();
String vsql = "insert into app_users values(?,?,?,?)";
PreparedStatement psmt = con.prepareStatement(vsql);
psmt.setString(1, this.username);
psmt.setString(2, this.password);
psmt.setInt(3, this.age);
psmt.setString(4, this.email);
psmt.executeUpdate();
con.close();
return SUCCESS;
}

public boolean isUserExists() throws Exception {
Connection con = MyUtility.getConnection();
System.out.println("connceted----->" + con.getClass());
Statement stmt = con.createStatement();
String vsql = "select count(1) from app_users where user_name='"+ this.username + "'";

ResultSet rs = stmt.executeQuery(vsql);
int count = 0;
while (rs.next()) {
count = rs.getInt(1);
}
con.close();
if (count == 0) {
return false;
} else {
return true;
}

}

public void setUsername(String username) {
System.out.println("set username---" + username);
this.username = username;
}

public void setPassword(String password) {
System.out.println("set username---" + password);
this.password = password;
}

public void setEmail(String email) {
System.out.println("set username---" + email);
this.email = email;
}

public void setAge(int age) {
System.out.println("set age---" + age);
this.age = age;
}

// getters
public String getUsername() {
System.out.println("get username---" + username);
return this.username;
}

public String getPassword() {
System.out.println("get pwd---" + password);
return this.password;
}

public String getEmail() {
System.out.println("get email---" + email);
return this.email;
}

public int getAge() {
System.out.println("get age---" + age);
return this.age;
}

public RegisterUser() {
System.out.println("Executed........");
}

public String getStatus(){
return this.status;
}
public void setStatus(String status){
this.status = status;
}

}


am i did any mistake here
i think every thing is correct
but i dont know why the problem is coming
please can you check again

Geeta
15 years ago
thanQ for the reply

previously i exceuted like that only
after that i moved to jsp
here i got some errors
now i solved my problem from the forum
But now i am getting the logical errors
when ever i am inserting the data(either new user,or existing user) its giving same msg
and its not storing the new user in data base

here my code is


validate.jsp


<%@ page import="java.sql.*" %>
<%@ page import="javax.sql.*" %>
<%@ page import="java.io.*" %>
<%@ page import="java.util.*" %>
<%@ page contentType="text/html" %>

<html>
<body>

<%
String uname=(String)request.getParameter("uname");
String pwd=(String)request.getParameter("pwd");
String age=(String)request.getParameter("age");
String email=(String)request.getParameter("pwd");
int age1=Integer.parseInt(age);


if(!isUserExists())
{

try
{

%>
<h1><%=uname%></h1>
<h1><%=pwd%></h1>
<h1><%=age%></h1>
<h1><%=email%></h1>
<%

Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","SYSTEM","remora");
System.out.println("connceted----->"+con.getClass());


String vsql="insert into app_users values(?,?,?,?)";

PreparedStatement psmt=con.prepareStatement(vsql);


psmt.setString(1,uname);
psmt.setString(2, pwd);
psmt.setInt(3,age1);
psmt.setString(4,email);
psmt.executeUpdate();
con.close();
%>

<jsp:forward page="/success.jsp"/>
<%
}
catch(Exception e)
{
System.out.println("Exception"+e);
}
}
else
{
%>
<jsp:forward page="/failure.jsp"/>
<%
}
%>

<%!
public boolean isUserExists()
{

int count=0;
String uname="geeta";


try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con= DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","SYSTEM","remora");

System.out.println("connceted----->"+con.getClass());

Statement stmt=con.createStatement();
String vsql="select count(1) from app_users where uname='"+uname+"'";

ResultSet rs=stmt.executeQuery(vsql);

while(rs.next())
{
count = rs.getInt(1);
}
con.close();
}
catch(Exception e)
{
System.out.println("Exception ..."+e);
}

if(count==0)
return false;

else
return true;
}
%>
</body>
</html>


this is the code to validate wheather user existed or not

can you find where was i did the mistake
how to change the code


Thanks and Regards
Geeta
15 years ago
JSP
Hi All,
I am doing the program in jsps.
When ever i am executing the jsp like following path
http://localhost:8082/Finance/myjsp/Welcome.jsp
here options .Register User
Logon
When ever i am clicking on Register User It has to show enter user name and password, but its is not showing any thing(not showing the html page)
I am getting in the browser like following after clicking RegisterUser

http://localhost:8082/Finance/myjsp/RegisterUser.jsp;jsessionid=76E1C4F732FD0B7DB7CAD7A14FAABB4E

i am geeting the errors at server side like following

at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:
208)
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:695)
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:
55)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(Component
TagSupport.java:44)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspx_meth_s_form_0(RegisterUse
r_jsp.java:150)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspService(RegisterUser_jsp.ja
va:84)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:298)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatc
her.java:248)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:644)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(
Form.java:245)
at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:
208)
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:695)
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:
55)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(Component
TagSupport.java:44)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspx_meth_s_form_0(RegisterUse
r_jsp.java:150)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspService(RegisterUser_jsp.ja
va:84)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:298)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatc
her.java:248)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:644)
at java.lang.Thread.run(Thread.java:595)
Apr 22, 2008 10:53:03 AM org.apache.struts2.components.ClosingUIBean start
SEVERE: Could not open template
java.lang.NullPointerException
at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(
Form.java:245)
at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:
208)
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:695)
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:
55)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(Component
TagSupport.java:44)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspx_meth_s_form_0(RegisterUse
r_jsp.java:150)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspService(RegisterUser_jsp.ja
va:84)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:298)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatc
her.java:248)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:644)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(
Form.java:245)
at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:
208)
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:695)
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:
55)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(Component
TagSupport.java:44)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspx_meth_s_form_0(RegisterUse
r_jsp.java:150)
at org.apache.jsp.myjsp.RegisterUser_jsp._jspService(RegisterUser_jsp.ja
va:84)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:298)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatc
her.java:248)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:644)
at java.lang.Thread.run(Thread.java:595)



plese any one help in this
i am not getting where is the mistake was done

i am unable to get what to change and what to do

plese any one help in this....................

Regards
Geeta
15 years ago
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Finance\WEB-
INF\c
lasses\org\common>javac MyUtility.java


C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Finance\WEB-INF\c
lasses\org\common>java MyUtility


I am getting the error while running the appliation

I executed the program liket this

C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\Finance\WEB-INF\c
lasses\org\common>set CLASSPATH=ojdbc14.jar;.

Is there any wrong thing i did
plaese tell me the way of path getting right solution