Arvind Sampath

Ranch Hand
+ Follow
since May 11, 2005
Merit badge: grant badges
For More
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 Arvind Sampath

Yes - Its an amazing job board. I've been using it for a month now and almost often receive prompt response from job posters on applying.


Thanks and continue the good work!
15 years ago
Thanks a lot Franck for posting these jobs at the ranch. I came to know about Softdevjobs only a couple of days back. I find that very useful and would recommend that to anybody. Thank you!
15 years ago
The method getRequestURL() would return the URL of the request submitted by the client. As I understand, the method would return the URL used for submitting the request.

I am getting (http://localhost:8080/test/showAbc.jsp)



Did you submit the request to showAbc.jsp?

If you want to know the URL of the page from which the request was sent, you can try reading the HTTP-REFERER header. By the way, are you trying to implement some security feature using this information? If not, why do you need this info for?

Cheers
Arvind
15 years ago
JSP
Try isolating the problem. Did you query the database after your servlet updates it to check if the update was successful immediately?

Are you using any framework for database interaction from your application?
15 years ago
JSP
Yep, I am considering that option as I type. Some of my friends tried that and told me that it is really difficult to contribute to Apache unless you try for 3-4 years. Is that true? If so, are there any other Projects where we can prove our skills and get to contribute soon.
15 years ago
Hello

Is this a full time opportunity with Captech Ventures or with your Client?
15 years ago
I am a Java/J2EE developer with about 5 years of work ex and with plenty of free time I've been like this for a over now. I even switched jobs but I remain under utilized no matter where I go I am volunteering for open source projects and am ready to give my 5 cents in Java/J2EE projects where I can help.

Any pointers to places to start for open source projects would be of great help as well!
15 years ago
I have added a few JTextFields to a JTree. The problem is those text boxes are not editable. Find below the code for my CellRenderer



I tried many options setting the editable/enabled fields of the text box. But still the text box remains uneditable.

Any help is greatly appreciated.
16 years ago
Brian,

As far as I can see, there is no revalidate() method on the container.

I tried calling validate() on the JFrame. It didnt work in the NetBeans created code. But it did work, when I coded the UI myself using GridBagLayout. I found that when I used NetBeans for UI design, by default, it is addding the components to a Layout and then adding the layout to the frame. Now, when I try to add components dynamically to the Frame instead of the layout, the changes were not reflecting
16 years ago
I think there is no revalidate() method in JFrame as it is not in the Component Hierarchy
16 years ago
I tried calling revalidate() on the JPanel object which was added to the JFrame. Still didnt work.
16 years ago
Hi All,

We are developing a Standalone Java application using Swing. I am facing problems while trying to dynamically add a JPanel in a JFrame.

The JFrame gets loaded successfully. When the action event for the button occurs, I am trying to add a JPanel to this frame at runtime. But the Panel elements are not getting reflected in the screen. This is the code that is present in actionPerformed()



I tried calling repaint() on getContentPane() and on the frame object as well.

Any suggestions/pointers are greatly appreciated.

Cheers,
Arvind
16 years ago

why is the filter sequence in 2)Filter1,5,2 and not 1,2,5?



Thomas,

You are right. The order of execution of filters is 1,2 and 5. I cross checked this by creating and running a sample app in Tomcat 5.1
Thanks Jeanne!

I explained the scenario to one of the DB guys out here. Our batch jobs always truncate the table first before inserting data. Came to know that when our batch job is running in one session, the same batch job if invoked in another session will wait as it will not have the lock to delete the table. Once the first job complets and commits(therby releasing the lock), the second job will gain control. Since we are truncating data first, we are not facing any probs.

Cheers,
Arvind