Satheesh Kumar G

Greenhorn
+ Follow
since Feb 08, 2003
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 Satheesh Kumar G

hi,
We are using struts and websphere in our application.
Requirement:
User inputs search criteria and submits, we have to search database, retreive the results, generate comma separated string and flush it as download file which user can save or open..
Our logic is working in our local server ,but giving error in customer place. The difference is at the customer place, https is used instead of http.
part of the code...
byte[] sdownload_content = sdownload_string.toString().getBytes();
oresp.setContentType("application/download");
String sfile_name = prepareFileName(senterprise_code);
oresp.setHeader("Content-Disposition","attachment;filename="+sfile_name);
ServletOutputStream out = oresp.getOutputStream();
out.write(sdownload_content);
out.flush();
out.close();
I am getting two errors...
1. The dowloading file name is coming as servletname(action class mapping)
2. Getting error(popup message) saying that either the site is not availabe or server is down..
Both the above problems are not happing in local server(development server)..
Its urgent.. pls. help..
Thanks in advance..
Best Regards,
Satheesh
20 years ago
hi,
here the problem is , we have room form A belonging jsp A when we move to jsp B with form B.
Thanks and Regards,
Satheesh
20 years ago
hi,
how to hide JSP files from user, i.e. if the user types the jsp url directly in the browser, it should not be displayed, only through application click the JSP should be displayed.
Pls. help
Regards,
Satheesh
20 years ago
hi,
We are using URL rewriting for session management. We are using struts 1.1 in our application development. Also, we are using frames in our application. i ensured that all the URLs are encoded in all the jsp files and as well as all frame src are encoded, but still session is lost after 5 minutes. I have sent session timeout as 30 minutes in WebSphere console.
Pls. help.
Thanks and Regards,
Satheesh
20 years ago
hi all,
Thanks for your help, yes my problem is solved by html rewrite tag to encode frame src..
REgards,
Satheesh
20 years ago
hi,
I edited web.xml file to specify session timeout as
<session-config>
<session-timeout>30</session-timeout>
</session-config>
After placing this edited web.xml file in the server, server is not starting ..
What could be the problem...
pls. help
Regards,
Satheesh
20 years ago
Hi !
i have a session object in which we put the user object, which contains the
user information of the user who has logged in. The first time i use the
search criterions, the session object is not null and the user object which
i retrieve from the session object is also neither null. but the second
time onwards the session object is not null, but the user object which i
retrieve from the session object is null. sometimes the session object is
also null even though the session timeout time is not elapsed. the session
timeout time is 30 mins. but when i use it the second time itself, when i
check if the session object is null, it returns me null.
plz help me out with this. it's quite urgent.
Thanks & Regards
satheesh
20 years ago
hi,
The action class may be present in jar file which exists in web-inf/lib folder
regards,
Satheesh
20 years ago
hi,
I want to know how to clear the action form objects from session which are given session scope in struts-config.xml file. Our problem is, we have some huge data stored in an arraylist in the form object(this arraylist is accessed using setter and getter methods) and this form object exists in session. I want to delete form object from session, when user clicks some other menu item i.e. user navigates to some other functionality of the application.
I tried to remove the form in the first line of execute() method in my action class, but no use..
pls. help
thanks and regards,
Satheesh :roll:
20 years ago
hi,
Thanks for your reply. Our client requirement is that we should not change/reload header and footer, so we have to go for frames..
Thanks and Regards,
SAtheesh
20 years ago
hi,
can any body explain how to use struts with html frames. I am using URL rewriting for session management and my session is getting lost if i use frames.
thanks in advance
Best Regards,
Satheesh
20 years ago
hi,
Can you pls. explain how to use redirect="true" option. Pls. post an example(of struts config and action class) if possible.
Best Regards,
Satheesh
20 years ago
hi,
In our application being developed using struts, we need to handle session using URL rewriting(client requirement). I tried to put the following in struts-config.xml
<action path="/SearchConditionList"
type="com.jp.nissan.nshop.WRN.action.SearchCriteriaAction"
name="SearchCriteriaActionForm"
validate="true"
input="/searchanddownload/IntroductionSearchFailureError.jsp"
scope="session">
<forward contextRelative="true" redirect="true" name="SearchListOffice" path="../searchanddownload/SearchFrame.jsp"/>
</action>
in forward tag i mentioned redirect="true" so that response.sendRedirect gets invoked and URL rewriting happens, but session is not retained still.
Thanks in advance.
Best Regards,
Satheesh
20 years ago
hi,
I installed Weblogic 6.1(with SP4) on windows 2000 machine. After starting the adminsole, i created a nodemanager(under machines) and created a server called 'MyServer' in servers node with all the required attributes filled. When i tried to start the 'MyServer' i am getting an error:
FATAL Alert:BAD_CERTIFICATE error in the node manager console.
In weblogic console the error is, could not create a socket to node manager, reason:connection refused.
I ensured that node manager is running.
Please help.
Thanks in advance
Regards,
Satheesh
20 years ago
hi,
I gave new context root name, still the same problem
thanks and regards,
Satheesh
20 years ago