Win a copy of Event Streams in Action this week in the Java in General forum!

Raghavendra Holla

Ranch Hand
+ Follow
since Jun 02, 2000
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 Raghavendra Holla

1) Open URL connection depending on text box value.
2) Rewrite Get HTML file from getContent()
3) Send it to PrintWriter
4) Remember to setContentType to "text/plain"
hope that does your task!
17 years ago
Hello,
I would like to know is about Java/Perl based search engine with folowing features,
. Should run on Sun solaris 2.6 and above.
. Canscan HTML and PDF files
. Handles access restrictions of Apache Webserver(i.e. if any .htaccess file found, would maintain the authorisation list for each list
. Shows only references where requesting user has access privileges
. Can be configured to restrict the serach to particular URL only
getValue and putValue are deprecated !. They will return null value from Version 2.2. So as Dayanad indicates use getAttribute and setAttribute. For further clarification refer Servlet API documentation.
regards
holla.
18 years ago
Still servlet runs at server, and can access network printers connected to it. But you can't print on specific client printer. If you can do that, that over rides simple web security principle. In web client should initiate the action, and authorise use any local resources. Just selecting a file won't give you that permission. Any way check it. Even I am interested. if you succeed post your solution here. bye.
regards.
Raghavendra Holla.
18 years ago
Simple..
problem is with your statement
average += randomNo[ i ] ;
is out side the loop and i at that time is 12 !!!.
Put it inside the loop.
18 years ago
In Tomcat configuration file web.xml in directory <TOMCAT_HOME>/conf, try to change <servlet-mapping> tag. Try after changing <url-pattern> from *.jsp to *.jsp? or *.jsp*.
18 years ago
Hello All,
I want to associate every browser window to a session. Browser window can be from same browser(I.E. or Netscape). But once I create a session, and then I open an another new browser window session id is shared between two browser windows. How can I control this? He there any tricks or hints? Thanks for any help.
Regards
RAghavendra Holla.
18 years ago
Thank Jim!!!. I don't know why java ignored regular expressions support earlier. But I don't know how much long it takes industries to accept Java 1.4!!! I have searched google, and found some interesting packages. For time being I can go a head with one of them I think.
18 years ago
Hello,
Is there any free java package available on the net for regular expressions? If so please let me know, that would be greate help.
Thanks.
Regards,
Raghavendra Holla.
18 years ago
Hi,
Yes. There are very good tools (freeware). One such tool we are using in our project currently is ploticus. It provides all your functionality. Only thing is it comes for Unix. Check out, whether you get for ploticus Window's also (hope your site will be in MS Windows). Check www.sgpr.net for further details.

regards
holl@
18 years ago
Session variables and Cookies are entirely different. First is stored in server and can not be disabled by client in any way, later is sent to browser, it is client's discretion to take it or leave it. Testing is upto you. Write a simple servlet with session and a variable. Disable cookie in your browser. Try to read session variable in another simple servlet. That's all your doubt will be clear. Maintaining information always consider to be bad practice, because it is not guaranteed to work. However choice is yours. And also if you want to keep large amount of information, it's not a good idea to store at client side. Isn't it?

Regards
Holla@
18 years ago
Change web.xml in <TOMCAT_HOME>/conf directory's <session-timeout> tag. By default it is 30. But it will be applicable to all session, i.e. all serverlet/JSP running under that tomcat server.
regards
holl@
18 years ago
Thanks poornima. But if java script disabled, this won't work. I don't know there is any HTML tag or meta tag which does this.
regards,
Holla.
18 years ago
Hello ,
IS there any way of disabling browsers back button using JSP or Servlet code?. Any tricks in HTML?
regards
Holla
18 years ago