customization in Tomcat for billing

J

james

I have written my own bookcart application and setup in the Tomcat server.
I would like to make a billing system to bill users.
How can I know the total no. of byte transfer for each user and how can I
implement such billing service? Can anyone give me examples and reference.
Thousands Thanks
 
W

William Brogden

james said:
I have written my own bookcart application and setup in the Tomcat server.
I would like to make a billing system to bill users.
How can I know the total no. of byte transfer for each user and how can I
implement such billing service? Can anyone give me examples and reference.
Thousands Thanks

For measuring total bytes sent, I would look into a Filter - see the
javax.servlet.Filter interface.
There are some examples of Filters that compress output which should give
you some ideas.
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top