Murthy Cherukumilli

Ranch Hand
+ Follow
since Aug 05, 2004
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 Murthy Cherukumilli

Kathy!
It would be really helpful if we can get a pdf of atleast the bullet points,sharpen your pencil,mock exams and the watchit!! I can understand that the pdf for entire book might be difficult with graphics.

But let me take this opporunity to say thanks for such an excellent presentation.. i feel like i am reading a comic more than a technical book. Wow!! the language is so simple that everybody can understand.

Thank you once again.
Hi all!

I have downloaded the Jaxm from suns site and wheni explode the zip file i am not seeing the javax.xml.soap package in the jar files. Can any body help me with respect to this.
15 years ago
hello experts,

I have a quetion on the threads. I have designed a thread pool. the thread pool has a behaviour shrink and re-size based on load. And also i have implemented a listener which gets events for pool resize , pool initiate, task started, task completed etc.., Also I have monitor that i have implemented which is monitoring the pool to see if the load is appropriately handled.

Also i want to implement somthing like a timer thread... i.e., i want to stop the thread if the thread doesnot get response in 'x' seconds. But stop is deprecated in the api what is the best way to implement this.
nice point raised my bear bartender... hmm.. i miissed it totally ... but can you please explain ... in tims approach why do we need to keep the thread in the session... what is the necessity.?
15 years ago
JSP
there is no thread being spawn here it is just a simple forward of request but that we introduced a interim page thats all we are doing..

and as far as the animation being lost i dont think this has got to do what youare doing... becasue alll you are doing is onload which means your page is already loaded...so dont think that cold be an isssue.
15 years ago
JSP
function execute(){

var Shell = new ActiveXObject("Shell.Application");
var EXEPATH = "NOTEPAD.EXE";
Shell.ShellExecute(EXEPATH, "",
"", "open", "1");
}
15 years ago
JSP
k, you do it this way,


Let us assume we have page1 , page2 and you are moving from page1 to page2 and in the mean while as this is a time taking process you want to show a please wait page.

Let us assume that the page with please wait is called "interim". now when you click on submit dont call the url for page2 but instead call the url for interim passing the same data that you would pass to page2 and let the interim page on page load call the page2... this will achieve your purpose.
15 years ago
JSP
you can set the scope int he struts-config to session and that should solve the problem.
15 years ago
okay first thing is , unless your apllication wants to participate in the session your session is not created. the first time when a session gets created for your application is when you call the getsession() or getsessio(true) which indicates your webserver that this application is participating in the session.

As you said the whole purpose is to see if they belong to same session use a getsession() and then you can use the session.getId() and compare the session ids.
15 years ago
hi your answer is in your question .... the response is committed...please check your code to see if you have an explicit commit/flush of response. If you cant figure then please pastee your code
15 years ago
hi alvin,
It looks like your action is being called twice check your jsp code and the strutsconfig.xml
15 years ago
JSP
can you please paste the code.
15 years ago
hi lakshmi

I am assuming that you are inserting the bean in the session and reading the bean from session on the jsp.

As you said you are getting the right bean into the servlet, after once you have the bean in the servlet replace this new bean in the session and then forward your request to your jsp then your Jsp will be automatically reloeaded with the data from new bean. (use struts if possible , will make your life easy)
15 years ago
That is re-stating my question ... i was asking for a reasonging if any..
hi!

I was asking you to use the java filters where the logic which you are tryign to code is already there you can write your login code in the doFilter method and then u can use the chain object to set the control to the next servlet.
15 years ago