vishnu vyasan

Ranch Hand
+ Follow
since May 27, 2008
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 vishnu vyasan

Hi Firends

i have jsp servlet application in which i have a jsp Multipart form. The form has other normal fields apart from the File chooser.

Now my form tag is like this.



i have set the pageEncoding to UTF-8 and has meta-tag as




now in the processing servlet i use appache commons file upload and i have set the



But still my data gets corrupted to question marks.

Thanks and regards



Hi guys,

How could i prevent cross site scripting and parameter manipulation attacks in jsp?

how should i handle such a invalid input coming from the user? Will the SSL implementation prevent this kind of attacks?

Thanks.
14 years ago
JSP
Hi Guys,

How can i install a verisign SSL Certificate on a OAS 10G 9.0.4? I know is done using wallet manager.

But my wallet manager is not showing any wallets currently and when i try to create one it gets hang.

Any suggestions would be helpful.
14 years ago
I know even Post parameters are Vulnerable to attacks. We do test application against Cross Site Scripting type of attacks where in such a scenario URL Get parameters will be modified in to scripts.

just an example

http://xyz.com/events_all_en.jsp?id=>'><ScRiPt%20%0a%0d>alert(123)%3B</ScRiPt>

which would give a alert to the user.

The POST would at-least prevent this.

if we want to give our application a max security possible we should implement SSL.
14 years ago
JSP
I can't append it to URL since that fails in security testing. The tools we use will capture the get parameters and replace them with some other values and try to extract data from database. Any suggestions ?

I will take a ajax based approach as Bear Bibeault suggested.

I got a solution based on jquery ajax using which i can initiate a POST request on link clicking.

14 years ago
JSP
Duplicate post - hence removing.
14 years ago
Hi Guys,

I have JSP page from which i am passing a value to another when the user clicks on the link.

.

Now this parameter is passed to another page as a HTTP GET parameter. How can i Send it as a POST Parameter?

I cant use the form and submit.

is there any other way to do it. Can we do it using ajax?

14 years ago
JSP
Connection Pools can be configured in your Application server. Mostly all application servers provide a console GUI to configure the data-source and the connection pooling.

once you have a data-source with connection pooling you need to use a JNDI Look up instead of normal JDBC connection.

for more hint's specify which app server you are using.
14 years ago
Hi guys,

i have a scenario in which a popup appears on clicking a button.

The popup is a third party tool which returns values to the parent form by URL embedding. i need to read the request variables and assign the values to the form elements. The form should not be refreshed since the half of the form will be already filled by the user and the values will be gone on refresh.

How can i do this?

Best Regards
Vishnu NV
Hi Guys,

How could i pass the values from a child popup to a parent popup using java-script?

Regards
Vishnu NV
Hi guys,

i am a newbie to Struts , I am facing two problems in an application.

I am using 1.3.8 for a application having a registration page with internationalization.

now

1) when the user gives all his details , the details are getting populated in to form bean. now when the user changes the language , the form should clear all the contents. is the form bean should unload from the memory. This is not happening, how could i do this?

2) how could i turn off the auto-complete property of struts html:text tag?


regards
vishnu
14 years ago
Hi Guys,

I am New to Webservices. I have a requirement of getting data from a WSDL.

I have generated a client using Apache axis and successfully deployed and run on Tomcat 4.1.

Now i dont know how to Convert the SOAP Response i am getting in to a plain java bean?

Regards
Vishnu NV
14 years ago
Hi,

I am using the Oracle Application server 9.0.4 and java 1.4. I am creating a webservice client form a WSDL file which runs fine from my local server.

But when i deploy that to Oracle Application server on a different network i m getting the following Error.




I am not setting any proxy in my code as my Application server is not under any proxy server. All hits will be direct to the application server.
Here the exception is unknown host exception, munproxy which is the proxy server in my local network.

anybody has any idea from where the Oracle SOAP is taking the proxy settings? how can i overcome this issue?

Best Regards
vishnu


14 years ago
Thanks Bob, That was presisly the issue. i have moved the the jvm to local path C:\java; it worked fine.

Thanks a lot for replying.
14 years ago