hari vemulapalli

Greenhorn
+ Follow
since Mar 17, 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 hari vemulapalli

HI

I have a column named 'Commision'. It is defined as Number(10,2).

But actual values dont have any decimal points means they have values like 1400
11000
like this. ButI want to get the output as 11000.00 ,1400.00 and if it is null I have to get .00.

Can anyone help me???

Thanks
15 years ago
Okay Thank you.I am using 1.5. So it will give compiler error in 1.4 only.
public int getNum(){
Byte b=10;
return b;
}
Byte is not primitive ,it is a wrapper class. in the self test it is given that it shows compiler error. But its not showing any compiler error...
whats the reason???
Hi all

I have K&S book for SCJP1.4. Can anyone tell me what are all the chapters I have to add for that to prepare for 1.5. and chapters need not be preapred in 1.4 for 1.5 exam. I cam to know that math class section is nott here in 1.5 which is in 1.4 book. I got chapters list from Sun site but it is not much clear.
I am using Sun One Server and thats not running on my local machine.
15 years ago
JSP
None of the jsps are working. But if I change the file extention from jsp to html and deploy that it s working fine.
None of the jsps in my web application are working. i am using Eclipse editor. This is because of missing jar files I suppose as I am trying to access simple jsp that has <html> and <body> tags. previously it was working . suddenly it started giving this error.all the jar files are under project/Buildpath /configure buildpath/Libraries in Eclipse.
should we have any jars under web-inf/lib directory....
without having the jars under lib i could access my application previously.
please suggest me
15 years ago
JSP
Thanks for the reply...
Here is the stacktrace
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:101)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:448)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:506)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:485)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:473)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:516)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:307)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)


root cause

Error running /usr/jdk/instances/jdk1.5.0/bin/javac compiler
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:409)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:506)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:485)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:473)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:516)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:307)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)


note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
15 years ago
JSP
Hi

I have a simple Jsp page and Iam using sunone server . after I deploy my dynamic web application in sun one and try to access that simple jsp i am getting the

following Error. My jsp has just body sayiing this is my first Jsp...

org.apache.jasper.JasperException: Unable to compile class for JSP

Do I need to set any path for this??? And the Server is not in my local machine.

Any one please help me to solve this.
15 years ago
JSP
Hi

I have 2 jsp pages. I want to include second jsp in the first jsp page when a button in the first jsp is clicked. how can I do this. I tried in sevaral ways . I am using jsp and javascript... anyone please help me.. thanks in advance
Hi

I want to include a jsp page in the current JSP upon clicking of a button.Can we use jsp include directive in javascript to do that.
<%@include file="two.jsp" %>
can we write this directive inside js file..
Anyone please help me....
thnx in advance.
Hi

I have a table within another table in HTML. It will be hidden . Upon clicking of a button the main table height should get increased and the sub table should get visible which was hidden previously.Can anyone help me please. can this be done using javaScript??? Thnx in advance.
Its just showing 28000 records. The actual number of records it should show are 65000 records..!!!
Hi

I am getting OutOfMemoryEror in my application. i am using Eclipse europa .
the sql query is getting 28000 recods and then it is showing this outOfMemoryError.

I tried to set the heap size like this
java -Xms128m -Xmx1024m.
But after this also same error....
Please help me how can I increase heap size in Eclipse...
Thanks,.....
Hi

I am getting java.lang.OutOfMemopryError in my application. its getting 28000 records and then its showing OutOfMemoryError. I am using Eclipse Europa..

I tried by setting the eap size like this

java -Xms128m -Xmx1024m
But there is no change in output....
Anyone please help me how to set the heap size in eclipse..
Thanks,
15 years ago
Hi

I am tring to write some data onto Excel files. I found Workbook and WorkbookSettings classes in google search. In sample Example import jxl.Workbook and import jxl.workbookSettings statements are there.
But these lines are showing errors in practise. How to import these classes... Any one please help....

Thanks
15 years ago