Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

shivani vidit

Greenhorn
+ Follow
since Oct 11, 2007
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 shivani vidit

Hi ,

I am using ant script to copy a file to some other location. this file contains '@' symbol which is being replaced with some other special character while copying and therefore this file is not being executed on unix server.
can anyone help to identify the problem or there can be any other approch to copy it.

thanks in anticipation.
10 years ago
Hi,

I have installed apache and copied mod_jk.dll into modules folder of apche.
now i am adding follwing entries into hhtpd.conf file

LoadModule jk_module modules/mod_jk.dll
AddModule mod_jk.c
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info

but apche is not starting up...afetr making these entries...

please suggest what could be the reason?

Thanks in anticipation..
11 years ago
you can develop servlet or jsp. javax.servlet.http package provides you HttpsSession interface, whose object can be retrived from HttpRequest

you can refer the follwing link for more details....
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.html
11 years ago
JSP
You can use HttpSession api in servlet/jsp to develop shopping cart.
11 years ago
JSP
to use Apache httpd:, do we first need to install apache server and manually connecti it to tomcat?
11 years ago
Hi Sumit,

You are right that at making a transient variable static is redundncy , but this is redudndacy only if you think from serialization prespective,,, your question is why java allows to do so?... that's bacuse making a variable static has other significance as well apart from just not being seralized..by making it static assures that you can use it without craeting the insatnce of the class .
so if variable is only trainsient : it means it is a non serializable insatnace variable
static transient means: its is non serializable class variable..
Nope...

We are reffering to server caching....
11 years ago
In that case i rebuilt the question:

We belive caching and https compression will rediuce the amount of data transfer between client and the server . To achieve this, we need to configue apache tomcat to enable caching in http compressio. Please suggest how it can be done in apach etomcat 5.5.27.


11 years ago
thanks...that issue has been resolved...
11 years ago
Hi all,
I am using apache tomcat container to deploy my application. Now i have to monitor the performance of the system(network usage) bu changin the cache levels. I am new to the apche and tomcat therfore i don'thave any idea , where and what to change to moniotr the performance. what i understood till now is, there is httpd.conf file , where we can change the caching values. but i can not find that file in tomcat which is inside "apache software foundation" folder.
do i need to install apache as a server and intergate it wiht tomcat manullay?
or what to do?
what should be the approch if perfomance has to be monitoed?

Please help...
11 years ago
thanks for reptying...but the entire path is already inside ""
11 years ago
Hi All,
I am trying to execute a batch file which requires command prompt path to be changed since some files used in batch are on that location. The code i am wriiting is"

String ar[]=new String[5];
ar[0]="cmd.exe";
ar[1]="/c";
ar[2]="start";
ar[3]="cd /d c:\\capitec\\tallyman operations\\bin\\";
ar[4]="process.bat";
Process pro=Runtime.getRuntime().exec(ar);

now the problem is, since there is a space in the name of "tallyman operations" folder therfore it's taking path from"operations\\bin\\".

i tested it by removing the space from the folder name, then it ie running fine.
but in actual enviorment i can change the folder name , please suggest what should be done so that it will take the entire path and change dir to "c:\captic\tallyman operations\bin.

it's very urgent... please help
11 years ago
explain that why declaring an array with above syntax nad then calling the length function on it do not gice any exception.
i mean explain the above code
14 years ago
explain that why declaring an array with above syntax nad then calling the length function on it do not gice any exception.
i mean explain the above code
14 years ago