gautam shah

Ranch Hand
+ Follow
since Oct 29, 2000
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by gautam shah

Originally posted by Mark Herschberg:

I've met countless CS majors who won't understand the fundamentals of software engineering. All they know how to do is write code. Software engineering requires many other skills, which have nothing to do with CS.

and I've met infinite civil , mechanical etc engineers unfortunately they are now known as software engineers but in actully they only deserves to be sweeper. in general people from other stream just doing nothing but polluting the software industry at great extent.
22 years ago

Originally posted by Garry Kalra:
I, Gaurav Kalra am a Sun certified Java Programmer as well as Developer. I also have post graduate as well as graduate degree in computer science. I live in Delhi, India.
Any job opportunities will be highly appreciated.

Which degrees do you have at graduation and post graduation level ???
22 years ago

Originally posted by vivek makode:
has anyone used user defined html (select, form , input etc )tags in their projects?
if yes please let me know.
i am trying to develop them but am unsuccessful. i cant get to know how it is done.

please help.

have a look on struts-tag library. it will help you a lot . available at
22 years ago

Originally posted by Dharam:
Can anybody help me to find the size of the object in Java. Is there any methods to find this.

i have seen the ans of this question at Sun's site in one of the qow. because of the fact i am very poor in writing so i can't explaint that here.just go there and find that qow.
22 years ago

Originally posted by Deepa Raghuraman:

I need to keep connection presistant until client says explicitly to close.

this can't be done from client side until and unless web server supports and thus respond with "Connection : Alive" instead of "Connection : closed" client can only request to keep alive the connection, but final decission is taken by web server.

Originally posted by Deepa Raghuraman:
Can u tell be how to upgrade HTTP1.0 to HTTP1.1?

just use higher version of jdk like 1.4 to make , thats all.

[ May 03, 2002: Message edited by: gautam shah ]

Originally posted by vikinsa aggarwal:
I have developed a site which uses 100% servlet technology except a few pages in static HTML. There is no JSP at all. Please take a look at and send me the comments.

recieved this exeption when trying to get entered in to
Error: 500
Location: /servlet/homepage
Internal Servlet Error: access denied ( /home/jakarta-tomcat-3.3.1/logs read)
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkRead(
at org.apache.tomcat.util.qlog.QueueLogger.log(
at org.apache.tomcat.util.log.Log.log(
at org.apache.tomcat.util.log.Log.log(
at org.apache.tomcat.util.log.Log.log(
at org.apache.tomcat.core.Context.logServlet(
at org.apache.tomcat.facade.ServletContextFacade.log(
at javax.servlet.GenericServlet.log(
at javax.servlet.GenericServlet.init(
at homepage.init(
at org.apache.tomcat.facade.ServletHandler.doInit(
at org.apache.tomcat.facade.ServletHandler.init(
at org.apache.tomcat.facade.ServletHandler.service(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$
22 years ago

Originally posted by Thomas Paul:

A statment like:
if (myShippingObject.equals(yourShippingObject))
is much clearer.

only just because of this kind of clearity and comfort for the programmer, now a days java programmers are about to die in their fields.A language that allow programmer to select their own meaning of any operator or write their own function suit to their requirement is much much superior then JAVA like languages which makes programmer a perfect handicapped.

C++ which provides a way to create reference (via &) at the time of call is a feature that is some time very much required . its a different thing that the web applications doesn't required that kind of features.
22 years ago
Thanks for reply dave.
i already had that document. actully i want DreamWeaver style help of javascript at advance level. actully the help given in DreamWeaver is not complete. it may be because of trial version of DreamWeaver. any one knows that DreamWeaver kind of javascript help, please let me know.
Thanks Ian.
but i am not looking for already written scriptlets. i am interested only in javascript help document through which i can see the various available object in javascripts and some references. if any available please give me.

Originally posted by Thomas Paul:
3) lack of operator overloading
4) lack of pass by reference

i think no 3 and 4 is weakness of java not its better part....
22 years ago
please give me some links from where i can download some good javascript help.

uses:- java Eval 3 - 5 + 8 - 1 + 23 - 45
(edited by Cindy to shorten the display width)
[ April 16, 2002: Message edited by: Cindy Glass ]
22 years ago

Originally posted by Meghna Kurup:
Hi Everyone,
In our web-application, I am using a stored procedure to update 5 nos. tables, when one of the values in the parent table changes. The procedure is set as a single unit of work.
Now at any given point of time, some entity beans or the other will access the above mentioned 5 tables to retrieve data.
The question is:
Does the EJB Container ensure that the next time any of the entity beans access these tables, they all will get the latest updated data?
Since the Stored procedure will modify data in multiple tables,how will the EJB Container ensure that the already instantiated entity beans based on these tables be synchronized to get latest updated data?
Please come forward and put in your valuable suggestions.
Thanx in adv.

it is not the programmer who has to take care of all that. if we r using entity beans then this is the duty of container to maintain the field in the beans with corresponding columns in the table.
actully upon every call of remote methods container calls ejbLoad() to synchronize the states of bean fields with the database.
and transaction isolation level is a entirely different thing with different reasons that which one level u should choose.

Originally posted by Andres Gonzalez:
Yes, but I wouldn't like to set a listener. I just want to start my application, connect to the JMS server and pull the messages from it. that's it.
I tried to search the API and I found a method call receive(). I tried but it didn't retrieve any message. Does anyone know how to do it??

better u look in to JMS specification. after that u can easily decide taht what can be make happening and what not....

Originally posted by Andres Gonzalez:
Hi. I have a consumer, say andres, under a particular topic, soccer.
The question is, how do I retrieve the messages that are stored in the JMS server?
So far I've done the following.
1o.) Lookup a ConnectionFactory through JNDI

2o.) Create a connection

3o.) create a session

Now, I know the topic name is Soccer and the subscriber is andres. I've seen some code examples, but they create a subscriber using something like this

I do NOT need to create any subscriber because it is already created. I just need to start pulling the messages from the server. I'm using OpenJMS. I also know that I have to start the connection, something like this:

and use the method.
hope you guys understand :roll:

what about session.setMessageListener(this or that or any) ???