Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

bhuwan tiwari

Greenhorn
+ Follow
since Jan 04, 2001
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 bhuwan tiwari

Hi All!
I want to print a HTML page which is generated from a Servlet.
Content and the Length of the HTML page may very at run time.
I want to restrict the user to print the page in the 6 by 9 papaer formate with Landscape for any number of pages.
I try to do this thing using CSS but not get successed.
Is it Possible through CSS?
Plz help.
Hi All!
I want to print a HTML page which is generated from a Servlet.
Content and the Length of the HTML page may very at run time.
I want to restrict the user to print the page in the 6 by 9 papaer formate with Landscape for any number of pages.
I try to do this thing using CSS but not get successed.
Is it Possible through CSS?
Plz help.
Hi,
I would like send bulk mail. I mean an announcement. Is there any limit to number of addresses can be set into To, Cc, BCc. If yes than what is the limit.
thanks,
bhuwan
18 years ago
Hi Friends,
If any too is available for converting my CGI into servlets
bhuwan
18 years ago
Hi
I am uploading file using third party tool (orriely' cos.jar).
But now i want to use SSL with it.
Plz suggest me the way.
if anybody hv some sample code
Regards
bhuwam
Hi,
In my servlet I am uploading the file using Orriley class. In it is working fine.
Now i woould to encrypt the file while uploading.
plz help me out
bhuwan
19 years ago
Hi,
As usual i wish to set my focus to first field of the form.
But by default it goes to the last component added.
i tried the method:
requestDefaultFocus()
requestFocus()
grabFocus()
but none of them is working when first time form is created.
plz suggest the way.
bhuwan
19 years ago
hello,
I am using MYSql with JBOSS, but while running starting JBOSS it
gives
Connection refused error:
MySqlDB] at java.net.PlainSocketImpl.socketCon
MySqlDB] at java.net.PlainSocketImpl.doConnect
MySqlDB] at java.net.PlainSocketImpl.connectTo
MySqlDB] at java.net.PlainSocketImpl.connect(U
MySqlDB] at java.net.Socket.<init>(Unknown Sou
MySqlDB] at java.net.Socket.<init>(Unknown Sou
MySqlDB] at org.gjt.mm.mysql.MysqlIO.<init>(My
MySqlDB] at org.gjt.mm.mysql.jdbc2.IO.<init>(I
MySqlDB] at org.gjt.mm.mysql.jdbc2.Connection.
159)
MySqlDB] at org.gjt.mm.mysql.Connection.connec
MySqlDB] at org.gjt.mm.mysql.jdbc2.Connection.
va:89)
MySqlDB] at org.gjt.mm.mysql.Driver.connect(Dr
MySqlDB] at java.sql.DriverManager.getConnecti
MySqlDB] at java.sql.DriverManager.getConnecti
MySqlDB] at org.opentools.minerva.jdbc.xa.wrap
nnection(XADataSourceImpl.java:118)
MySqlDB] at org.opentools.minerva.jdbc.xa.wrap
nnection(XADataSourceImpl.java:151)
MySqlDB] at org.opentools.minerva.jdbc.xa.XACo
(XAConnectionFactory.java:246)
MySqlDB] at org.opentools.minerva.pool.ObjectP
ol.java:819)
MySqlDB] at org.opentools.minerva.pool.ObjectP
a:569)
MySqlDB] at org.opentools.minerva.pool.ObjectP
a:521)
MySqlDB] at org.opentools.minerva.jdbc.xa.XAPo
APoolDataSource.java:165)
MySqlDB] at org.jboss.jdbc.XADataSourceLoader.
der.java:330)
MySqlDB] at org.jboss.util.ServiceMBeanSupport
ava:93)
MySqlDB] at java.lang.reflect.Method.invoke(Na
MySqlDB] at com.sun.management.jmx.MBeanServer
java:1628)
MySqlDB] at com.sun.management.jmx.MBeanServer
java:1523)
MySqlDB] at org.jboss.util.ServiceControl.star
MySqlDB] at java.lang.reflect.Method.invoke(Na
MySqlDB] at com.sun.management.jmx.MBeanServer
java:1628)
MySqlDB] at com.sun.management.jmx.MBeanServer
java:1523)
MySqlDB] at org.jboss.Main.<init>(Main.java:21
MySqlDB] at org.jboss.Main$1.run(Main.java:121
MySqlDB] at java.security.AccessController.doP
MySqlDB] at org.jboss.Main.main(Main.java:117)
I used the following tag in in JBOSS.jacml
< !-- MYSQL -->
<mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=MySqlDB">
<attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="PoolName">MySqlDB</attribute>
<attribute name="URL">jdbc:mysql://192.168.0.6/AccountingDb:3333</attribute>
<attribute name="Properties">DatabaseName=AccountingDb</attribute>
<attribute name="JDBCUser"></attribute>
<attribute name="Password"></attribute>
<attribute name="MinSize">0</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="GCEnabled">false</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="GCInterval">120000</attribute>
<attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">true</attribute>
<attribute name="LoggingEnabled">false</attribute>
<attribute name="IdleTimeoutEnabled">false</attribute>
<attribute name="IdleTimeout">1800000</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
</mbean>
< !-- END MYSQL -->
and JDBC tag is
< !-- JDBC -->
<mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,com.pervasive.jdbc.v2.Driver,org.gjt.mm.mysql.Driver</attribute>
</mbean>

plz help me out
thanks
bhuwam
Hi,
I hasve to generate and empty row onthe click 'Enter' at the last row in table.
pl suggest me the way
bhuwan
19 years ago
Thanks stevens,
I got some clues from the site u told.
Now i would like to clear my quetion:
What i want is to open another table on
the click of cell of present table to show t
he deatils of the data displyed in the cell.
i think now i will be more clear.

19 years ago
Hi
I want to generate empty row on prees on ENTER at last row
in jtable.
plz suggest me way.
bhuwan
19 years ago
Hi,
I would like to display the all accounts reports(balance sheet, profit loss etc...) using table(like other reportings tools(Like crstal reports). I would like to do it with jtable becoz i would like to display some other report on click of any entry in the report, which is not possible with normal reporting tool.
plz help me out.
bhuwan

19 years ago
Dear Friends,
I had developed mail client using JAVA MAIL API (Used servlet).
It is working fine for most of the mail, but not able to open
mails having images and mail coming as HTML. Presently I am
using text area (HTML) for mail reading .
Please help me out as soon as possible.
Thanx in advance
bhuwan
19 years ago
Hi Frank,
Thanx for response.
As for my application is concrned i am not using the any memeber
variable. I used member prevously but i faced lots of problem as
u rightly said, in that case this problem occurs on different
system too. After chaning member variable tosession variable
probem of different computer is solved but still it is giving
problem on same sytem.
Its is giving different session for different browser but stiil
not opening independent account.
bhuwan

19 years ago
I had devloped the Mail Client Using Java mail API and servlet.
The problem ouccurs When i open two browser with different login
passoword. Both browser shows the same mails as of the lastt
account open. This problem is also apperent with Yahoo Mail.
Please give some direction
thanx
Bhuwan
19 years ago