selvaraju sellamuthu

Ranch Hand
+ Follow
since Jun 28, 2007
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 selvaraju sellamuthu

Change like below and try it.


13 years ago
Solved or Not, if not, post your PDF creation, action class code.
13 years ago


Remove the attribute value from textfield, if you want to display value back in screen, that time use value attribute.
13 years ago
Keep your jsp files outside WebINF folder and inside of your project folder. Then in your result path location: read your jsp from your application context path.
for example, StudentManagementSystem/student/ student-form.jsp. Here StudentManagementSystem is your application context path, student is sub folder
13 years ago
Hi Experts,
I am using coolmenus3 in my struts 2 project, some jsp pages, the sub menus are hided by struts 2 select list boxes. This problem is only for list boxes only. For text and text area columns, no problem. menu should be visible over jsp content. Please suggest me. I am using struts 2 .1.8.1 version.

Thanks in Advance.

Kind Regards
Selvaraju

13 years ago
Hi Eric,

Thanks for your reply.

In this example, setTimeout function is called while form loading. then timer is running, once it reached the time limit, it will alert the user to do some server side actions. In the ajax request, the server side call will activate the session. it means that it communicates with the server. so session is in active. but my problem is timer will start while form loading. then eventhough if i do something on form page, after the time limit from form loading time, the alert message is thrown. So while user do input on forms, or mouse movement in the form, how do we reset the settimeout function. I would reset the timer, while keyin,mouse over, onclick, functionalities.please give me sample code or help links

Thanks and Regards
Selvaraju
My requirements is, while the user is active in inputing form elements, the timer should be reset. When user is not active in form (no mouse movement on page, no inputs on the page), the alert should be shown. Please suggest me the ideas on how to manage timer events in client side page.

Thanks and Regards
Selvaraju
Hi Experts,

I have used the setTimeout function for alert user before session expire. Let say example, if user has 2 min session, I have to give alert after 1 min to request user to do some actions if user did not do any actions on that page for 1 min. Below is my java script code


I have added this above script in jsp pages.This above code is working. The issue is, while testing this code, i was stable on that page till 45 secs , then before get alert message i have given some inputs in my jsp form, while i giving input, i got the alert message which i should not get. if i didnt do any actions in jsp form for 1 min, then only i should get alert, please suggest me any ideas with sample code

Thanks and Regards
Selvaraju
We solved by using request.getHeader("Referer"); to get browser requested URL.
Thanks and Regards
Selvaraju
14 years ago
Hi Experts,

We are using JPF,Net UI,Bea Workshop, Weblogic server in our application. And we setup our application in IIS server. We provide two URL's,one for access through internet and another one is for access through corporate network. For example, for public url : http://www.myapp.com/app/login/login.jsp, for intranet url : http://10.192.88.166/app/login/login.jsp. so we need to read the url domain name to recreate the url in our application...
how to get the www.myapp.com string in Httpserveletrequest object. While access through public url, we are getting base url as http://10.192.88.166/app/login/login.jsp. 10.192.88.166 is my webserver and IIS is running there. Please help me , how to get domain name from browser request. i tried to use java.net package...i can get only ip address not domain name.While i use javascript, i can get full browser object using window.location.host,window.location.protocol,window.location.href. Is there anyway to get browser url in java application.

Thanks in Advance
Regards
Raju
14 years ago
I am trying to use jfree chart with struts 2 to display pie chart in our applciation. I followed the struts 2.x plugin document. below is the key link which i used.
struts 2.x-jfreechart plugin

When i start tomcat, i am getting this below error logs... appreciate your help.


if i remove jfree chart libraries, then tomcat starts well,

Thanks and Regards
Selva
14 years ago
I am using Ajax DWR to display second list in struts 1.2. Through action, i got list for first box. Using this list, i tried to get dynamic list for second box using ajax dwr. I can print the second list values in helper class. when i tried to get list using html options tag attributes, i got error stating listTableColumns is not under the bean. Below is my code. Please suggest. i used the same code in Struts 2 project, it worked well.

My Java Script Code

Ajax Helper Class


My Jsp
14 years ago
Thanks for your code. can you give me details of where i would embed this code into my existing code?. please advise.
Thanks for your prompt help. look at this below code



From this above code , partially i got results. what i need is
left side table always must have values. we would shift selected values to rightside list. if the values in rightside is not neccesary , we should have to delete. and again we should get values from left side list. its my requirements. can you help me by giving some valuable points or java script logic

Thanks in advance.


We have set of Table names in right side coloumn and blank in left side coloumn. when we select multiple tables from right side and then we need to move selected options into left side using one button. and same from left side to right side vice versa. can you help me to do using html and java script. its like combo box logic with some additional logic.