Varun Selva

Ranch Hand
+ Follow
since Jun 17, 2012
Varun likes ...
Eclipse IDE Java Ubuntu
Merit badge: grant badges
Biography
Varun Selva is a Software Engineer of U3 Info-tech Singapore. I have completed my BSC Special in Computer Science in University of Jaffna.
And Done the OCPJP and ocpjwcd Certifications. 
For More
Srilanka
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
10
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Varun Selva

Thanks David Conoc!
I'll try and let you know.
8 years ago
Hi

I am working in a old project and implemented in struts old version.
I have to find that whether a particular action (project/dispense.do) is completed or not.

I am planing to have a session variable "isDispenseActionProgress" in start and end.

But I don't want to edit the action perform () method.
because there are many return mapping.findForward(""); are available in that method.


I tried the ServletRequestListener. It's working. But I feel this is very heavy in performance vice since it'll call every action call even jsp call also.

Is there are any other way to track this? like listener or any method to complete the thread.


Thanks
Varun Selva
8 years ago
Hi Friends,

I am getting below error while i am connecting yahoomail through Java code.
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Authentication required

But managed to connect with gmail.



Find my code below


I was using different port also. But no luck!!

Any setting need to enable in yahoo???
9 years ago
You can try this!!
May be normal solution...

9 years ago

Bear Bibeault wrote:Why? If the method needs information to make decisions, such info should be passed explicitly as a parameter; not implicitly based upon where it was called from.




I am asking this for inquiry purpose.
because I have to find from existing flow in a complex Project.

I can make sure that,that method is called by somewhere. But couldn't find the place.
9 years ago
Hi

Is there are any way to identify the place from where the particulate method is calling in runtime?

9 years ago

shareeef hiasat wrote:

Darin Niard wrote:I've been looking around... I can't find much information on it. You can use this for now though:

[ July 09, 2004: Message edited by: Darin Niard ]



thanks but did you try it , i mean where is your reference



This should work.
This is a general code.
rb.getString("NVFORMS").split(":"); is valid code.
But need to do the null check.

String[] s=null;
if(rb.getString("NVFORMS") !=null){
s = rb.getString("NVFORMS").split(":");
}


9 years ago

Ulf Dittmer wrote:

If you want to choose multiple client - Server application. You can choose Web app. If single user only, You can choose Desktop app.


It would be rare to have any app used only by a single user, but that is in any case not a differentiating criterion - desktop apps can be used by multiple users, and web apps can be used by single users.

Desktop App
* Code will be in the every system.
* Need installation for every system


Desktop apps can access code running in an app server, so the client-side would mostly be GUI code (so the diagram you posted is incorrect): As to installation, something like JavaWebStart (JNLP) makes installation and updates very low overhead.

A big advantage of web apps is the wider availability of the platform - just a web browser, which is available everywhere already and independent of the OS, with no need for further client-side software (like specific versions of Java or .Net). If designed properly it's also much easier to reach mobile devices.



If you want to choose multiple client - Server application. You can choose Web app



this is not mean , You can not choose desktop app...
I have mention that the good choice.

Desktop apps can access code running in an app server, so the client-side would mostly be GUI code (so the diagram you posted is incorrect)



This is something advanced. But I was explaining him the basic idea.
In your case, that diagram might be incorrect.


As to installation, something like JavaWebStart (JNLP) makes installation and updates very low overhead.



For the basic web application, we don't need any installation since web browsers comes alone with OS.
That's my Idea.


9 years ago
Yes this is correct.

super.calculateCost(newCost);



this method is not available in the super class.
9 years ago
Hi

This is dependent on your requirement.
If you want to choose multiple client - Server application. You can choose Web app
If single user only, You can choose Desktop app.

Desktop App
* Code will be in the every system.
* DB can be common server
* Need installation for every system

Web App
* Code will be in the server only.
* DB will be in common server
* No need any installation rather than browsers.

9 years ago

newTBDiv.innerHTML = "Student"+i+": <input type= 'text' id='"+i + "' name='Parameter"+ i + "'/>";


As you defined


Did you try like this?

>
9 years ago
JSP
Hi
I am also planing to take the same exam. Can you please share the related useful links for me.
@Paweł Baczyński

Yes you are correct.
Thanks.
9 years ago