Maneesh Chauahn

Ranch Hand
+ Follow
since Mar 06, 2006
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 Maneesh Chauahn

Hi

We are using the Hessian in our J2EE Application , to send the bulk data to client ( A server - client J2EE Application with Spring MVC FrameWork).


Can we the use the Hessian for the bulk data ( Bulk Data , 200, 000 POJO object each Object contains the 400 Bytes . Total Data = 200,000 * 400 = 800,000,000 Bytes )

We are also looking for the option of using the SOAP ( XFire ).

Can we use the SOAP for such Bulk Data

Thanks
13 years ago
Hi

We are using the Hessian in our J2EE Application , to send the bulk data to client ( A server - client J2EE Application with Spring MVC FrameWork).


Can we the use the Hessian for the bulk data ( Bulk Data , 200, 000 POJO object each Object contains the 400 Bytes . Total Data = 200,000 * 400 = 800,000,000 Bytes )

We are also looking for the option of using the SOAP ( XFire ) . Before using that , Can we use the SOAP for such Bulk Data

Thanks
13 years ago
Hi All,
I have a webapplication that contains the some html files and images. These html files and images are the part of the build. I would like to place
these html files and images outside the webapplication build.
Let supposer
C:\StaticResources ---> Contains the HTML files and Images
C:\usr\Tomcat\webapps\webapplication --> is the path of the webapplication

So can it possible that jsp which are presented in the web-application directly points to html files and images files. I know that
by using the Java File Stream i can access the same .

Is there any support in the servlet that can directly access the same

Regards,
Maneesh Chauhan
14 years ago
Hi
I have some html files and images that are present in the build path of the web application. These files increased the size of the war file , but i want to put these files outside the build path (to other location).

So how can i access these html files and images which are outside the build path. I knew that i used file stream to access the same but is there any way to access the same means by using the context.xml file

Regards,
Maneesh
14 years ago
Yes i want to place the html files and images outside web directory
14 years ago
I have the requirement to access the directory outside the build path of the web-application. So i created
a context.xml file and put this file in my webapplication web-inf folder. The context file contains the docbase that point
the absolute path of directory structure

Please let me know to access the resources outside the build path (like images , htmls files) what all steps i will be need

Regards,
Maneesh Chauhan
14 years ago
HI All,
What is the advantage of using the Dialect in the hibernate config file. As i removed the Dialect from the config file and able to insert the value in the database.

So can any one please tell me what is advantage of using the dialect

Thanks
Maneesh
Hi All,
In my application i want to insert the chinese characters in the Mysql 5.0 by using the hibernate. To achieve this

1. I set MYSQL 5.0 Database with character set utf 8
2. In the hibernate config file
connection.url = jdbc:mysql://localhost/multibyte?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8

Please let me know did i need to make other changes so i am able to insert chinese characters in Mysql by hibernate

Thanks
Hi All,
Can it possible to change the location of the MessageResource.properties file rather than the class path. Now suppose i want to put the MessageResource.Properties file at c:\

So where i need to make the change to implements the same

Thanks

Maneesh Chauhan
14 years ago
Hi All,
I have a JSP that look like this
href="path" with hyperlink i have a javascript function with click functionality

So i when click on the hyperlink a javascript function got called that do some processing and finally submit the form

When i debuged the server i found that server for the same page server is hit by 2 times . One by the javascript action form
submit and another by the hyperlink

Can please need help me out why this happening and can it is possible that server is hit only by the javascript action form submit code

I know can i do that like this

href="#"

Is there any other way , so that page that contains the hyperlink , display the proper hyperlink not the # and request is submitted once


Thanks

Maneesh
Hi All,
How can i access the hidden variables which are set in the JSP?
Should i use getParameter or getAttribute to access the same

Thanks
Maneesh
14 years ago
Hi All,

Can it possible to set the form hidden variables value in the java script. Do access the value which set in the javascript , did it is mandatory to submit the form in the javascript function .

Actually i like to call the a javascript function once the user click on the hyperlink for this i put onClick . In the javascript function i just want to set the value of hidden variable with out submiting the form

Thanks
Maneesh
[ March 26, 2007: Message edited by: Bear Bibeault ]
Hi All,

How we can implements the URL Rewriting concept with the struts frame work, as when in the struts <html:form contains the name of the action that is defined in the struts-config.xml file , so can we use the URL rewriting with struts framework

Thanks
Maneesh
14 years ago
Hi
I am agree that i need to encode the URL and but my question is that why i should i need to encode the url . Is # character is the special meaning that browser/webserver can't process

Thanks
Maneesh
14 years ago
Hi All,
I have a url as shown below
http://localhost/host/page.do?abc=#5

Now i want to get the parameters values in the action class like this

String parameter = request.getParameter("abc");

When i checked String parameter value it contains empty string.

If is possible to get value then how to get the values of the parameters from the URL whose value is started from #

Thanks
Maneesh Chauhan
14 years ago