Win a copy of Terraform in Action this week in the Cloud forum!

Pendurthi prashanth

Greenhorn
+ Follow
since Sep 13, 2005
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 Pendurthi prashanth

Hi once again!

Previously I've posted a topic on calling a jar file..

Hope this link takes you there https://coderanch.com/t/327768/java/java/we-call-jar


The reason I choose to run a seperate program is, that part of process is a heavy-weight operation. So, Instead of keeping stress on the server which has other important jobs to handle, I've decided to run a seperate program using java.lang.runtime.exec ...

Is my design correct?

Are there any flaws...!! (there are bound to be .. Just let me know).

Is there any specific way of communication between the stand-alone-jar-utility and the server..???


Please help.. I'm in a dialema!!!

Thanks in Advance

P-R-E-S-I
15 years ago
Hi once again!

Previously I've posted a topic on calling a jar file..

Hope this link takes you there https://coderanch.com/t/327768/java/java/we-call-jar


The reason I choose to run a seperate program is, that part of process is a heavy-weight operation. So, Instead of keeping stress on the server which has other important jobs to handle, I've decided to run a seperate program using java.lang.runtime.exec ...

Is my design correct?

Are there any flaws...!! (there are bound to be .. Just let me know).

Is there any specific way of communication between the stand-alone-jar-utility and the server..???


Please help.. I'm in a dialema!!!

Thanks in Advance

P-R-E-S-I
15 years ago
Thank you guys 4 your replies

Its really dumb to do that with JSP..

But Yeah I've learnt some..


Thanks once again..

P-R-E-S-I
15 years ago
Hi!..

Once again I'm in argument with my college. The Question is..

Can we call jar file using java.lang.runtime using jsp ?
The jar file contains a class which creates a JFrame.


I say that if any native call which is not terminated automatically will issue and error.

She says there should be a way and what I reasoned is wrong.

Please settle our argument.

Thanks in advance
P-r-e-s-i
15 years ago
Hi... GUYS and GALS

I've been able to draw an image using drawimage function. Now I want to save only part of the drawn image to a file. How do I do that? Please suggest.

Thanking you in Advance

P-R-E-S-I

16 years ago
Hi...


Thank you David O'Meara. I've found my solution. Did'nt think of server startup settings until now. I was wrestling with the problem during runtime. Now I've found a solution.

Thanks



P-R-E-S-I
16 years ago
Hi...

I'm using apache tomcat server. I've run a jsp program which has to insert records into a database. I'm receiving the following error. What is it that I have to do.. to overcome that error?

javax.servlet.ServletException: Java heap space
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:806)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.HCFA.ADMIN.errreports_jsp._jspService(org.apache.jsp.HCFA.ADMIN.errreports_jsp:231)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Thanks in advance



P-R-E-S-I
16 years ago
Hi.. guys .. & gals!

I've learnt java 1.4 and been using it for the past one and half years. But I never took certification. Now that I wanted to take certification, Is it good to take SCJP 5.0 or should I stick with 1.4.

Waiting 4 you valuble suggestion.



Thanks
P-R-E-S-I
Hi...

Me and my colleague got into an argument lately. I'm relatively new to using connection pool. She says that in a connection pool connection objects are created on each request. Is that true?

If true, when is it destoryed? Would'nt it be a burden on the server?

Can any give me a link or explain how exactly a connection pool works..!

Thanks in advance

P-R-E-S-I
Thank you very much for the info..


I'll try and complete it..
Hi Guys!

I'm looking for xml certification. Can anyone Guide me. Where to Start which certification is the best.. I hav'nt really searched for it. This is the first place I came looking for it.

Please give me the details any one...

Thanking you in advance

P-R-E-S-I
Hi seema,

I would too like to join . I would like to know the details.......



SEND ME DETAILS TO : presi_a_friend@yahoo.co.in

Waiting......

P-R-E-S-I
16 years ago
R u Kidding...


Working for 30,000 per.a

Ok I will give you a couple of suggestions.

Give me a nice living quaters. Breakfast, lunch ,snacks & dinner should be provided. I can travel anywhere if I like. Should have a telephone.

All these above and 30,000 per.a may be some guys may take the bait..


Good Luck ...

16 years ago
>>And where is that? How does the HTML page reference the jar file?

Ahhh...

Thanks Ulf.. I did'nt specify the archive.

I'll try again...
16 years ago
Hai there..

Recently I've required to give graphical stats of our companys production. I've found JFreeChart and downloaded it. I'm trying to show it in an applet. The compiling is out without error. But when I run it Its not able to find a class definition. How come this. Dos'nt the compiler check before compiling wether the class exists or not. I've even checked the jar file. Its there what should I do... Is there any policy included with JApplets..

>javac Gantt.java

>appletviewer Gantt.java
java.lang.NoClassDefFoundError: org/jfree/data/gantt/GanttCategoryDataset
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
at java.lang.Class.getConstructor0(Class.java:1748)
at java.lang.Class.newInstance0(Class.java:266)
at java.lang.Class.newInstance(Class.java:249)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
at sun.applet.AppletPanel.run(AppletPanel.java:290)
at java.lang.Thread.run(Thread.java:536)


Thanks 4 every1 in advance

Presi
16 years ago