You cannot post messages because this group is only available as an archive.
|
Accessing http session objects from a java class
|
| |
Hi all. I've got servlets running in a chain. This works fine if users access the servlets and JSPs. Now I'm trying to write a java class that can emulate the browser, so that the applications runs without user interaction. I got the connection to work with authentification and I can access the InputStream I get back, but I couldn't figure out how to access my... more »
|
|
I want to run my own Java chat server on a web host
|
| |
Hi, Does anyone have info on web hosts that let you run your own Java chat server on the host machine? I am volunteering for a mentor program for kids that has a website, chumz.net hosted on Yahoo. I found a free Java chat server and client program called Babylon ([link]) that... more »
|
|
how i get all directory or file in determined drive?
|
| |
This class contains recursive method which print all directory or files in determined directory Class print{ Print () { } Void printDirectoryOrFile(String path) { String a[]=new File(path).list(); For(int i=0;i<a.length;i++) { File b=new File(path+"\\"+a[i]); If (b.isDirectory()) { System.out.println(path+"\\"+a [i]);... more »
|
|
Embeded Java DB with inverted indexing and searching capabilities for Java Beans
|
| |
Hi, BeanIndex is an embeded Java DB with inverted indexing and searching capabilities for Java Beans. It is released under LGPL. BeanIndex is ideal for websites with large number of product item listings (tested with half a million items) and the product items have few searchable fields. Sites selling music files,stock photos and book would benefit the most... more »
|
|
Reuse the HTML form in add_account.jsp and edit_account.jsp
|
| |
Hi, add_account.jsp will collect all user's input to create an account and add it into a database. edit_account.jsp will edit a current account. They both share the same HTML form. The only difference is that all the boxes for input in add_account.jsp is supposed to be blank while they are supposed to display current information of the current user... more »
|
|
User authentication
|
| |
Hi, I am using session variable for checking user validity among the pages. That is, After logging in, I am getting the user's name from the session. If the name value is empty or null, I am redirecting the page to login page. Is there any other way to check the user validity? Can anybody help me in this issue?... more »
|
|
Automated Basic Authenication with an Applet for the Browser ?
|
| |
I like to automate web access to secure pages and proxies, which are proteced with a Basic Authenication scheme. The Basic Authentication within an Applet works really well, I get all the information I need when I attach the Authorization: Basic base64encodeUID_PW to the request Header. or if I use the Authenticator Class of the JDK1.5.... more »
|
|
== vs equals
|
| |
In some open source I've looked at recently the author always used the equals method rather than the equals operator. For objects defined from user-defined classes is there some reason why the method is preferred? Ken
|
|
|