Jump to content
xisto Community

kvkv

Members
  • Content Count

    44
  • Joined

  • Last visited

Everything posted by kvkv

  1. Hi rvalkass,I am interested in your mailing list script. I want to know weather it handles mail sent to a group id or it is only a one way script where users can't send mails to list.
  2. If you are trying to use this in your Xisto account, most probably you are out of luck. Most of the times, the webserver will be configured to run php in cgi mode. This is less problematic and has fewer security issues than the apache module version.But http authentication is available in php only when it is used in the apache module mode and cgi mode does not support this.
  3. I think your classpath is not set properly. If you set the classpath variable in your cmd file, it should compile. Here is a link to classpath variable documentation.
  4. I don't think header function makes any sense as you cannot send headers once you have started your content. It is helpful for redirection if you want to do something without sending any output to browser and then redirect (like one file for doing operations and redirect to other to display UI). But once you have displayed some UI, it would have already committed the headers to browser. So, when you try to redirect, it gives error "headers already sent".
  5. I think this is applicable to dos progams. In *nix and windows systems, it doesn't make sense.NEAR pointers are the normal pointers we use which can access upto max of 65,535 bytes using the 16 bit registers.FAR and HUGE ptrs allows us to access memory higher than 65,535 by using two registers (one for offset and other for segment).FAR pts are used in non-normalized mode (like TSR progs) where as HUGE ptrs are normalized (normal progs).
  6. let us say your java script function is called myfunction(). Then in your link (a tag) instead of href, specify onclick attribute. Ex: <A href="" onclick="javascript:myfunction()">link text</a>
  7. It is simple. Here are the steps.1. Start with one link. Let us say head. Keep this in a temp var.2. Traverse the list, going to next link.3. At each link, check weather it is same as head (Compare it with temp var)4. If you find a link same as head, it is circular (you came to where you started from)5. If you reach the end of list, it is not circular.
  8. I don't think it is possible unless it is built into operating system. Any good OS (I don't even consider DOS a OS) will protect the memory access by bounding it within the allocated logical block. If you try to access memory which is not allocated to your program, it will be terminated by your os.
  9. You have to use a jdbc driver for mysql and it is as simple as connecting to a oracle or any other databade using jdbc through jsp. It is exaclty the same code except you will provide mysql driver for database driver. Here is a tutorial link. http://forums.xisto.com/no_longer_exists/
  10. If i understood correctly, you want to launch a UI (swing probably), allow user to select a class, then call an api of the selected class. It is possible. I am assuming the class selected is in classpath. You need to use java reflection. Here is an example I copied from sun reference docs import java.lang.reflect.*;class SampleInvoke { public static void main(String[] args) { String firstWord = "Hello "; String secondWord = "everybody."; String bothWords = append(firstWord, secondWord); System.out.println(bothWords); } public static String append(String firstWord, String secondWord) { String result = null; Class c = String.class; Class[] parameterTypes = new Class[] {String.class}; Method concatMethod; Object[] arguments = new Object[] {secondWord}; try { concatMethod = c.getMethod("concat", parameterTypes); result = (String) concatMethod.invoke(firstWord, arguments); } catch (NoSuchMethodException e) { System.out.println(e); } catch (IllegalAccessException e) { System.out.println(e); } catch (InvocationTargetException e) { System.out.println(e); } return result; }} Refer http://docs.oracle.com/javase/tutorial/reflect/ for detailed docs.
  11. kvkv

    Google Os

    very interesting. I had never heard of this. Can you please provide a link to some official announcement?
  12. kvkv

    Hi From Kv

    Hello everybody,I am new here. Hope to get along with everybody and enjoy the community.Regards
  13. Sure eclipse is a great tool. But what I find is it starts hogging system resources the moment you start it. Think of developing an ejb application running on a webserver. Weblogic and eclipse running together will bring my comp almost to halt. I use jcreator to compile my java files. It is light weight.
  14. You will have lot of settings which get executed when comp boots up. Like system.ini, win.ini, services, run entries. How do you change them?edit some ini files? regedit?There is a easy way to change them.Start->RunType msconfig and hit enter.A configuration utility will come up using which you can change all that settings very easily.
  15. To improve performance of XP do this: Right click my computer, properties, Advanced, Performance and select "Adjust for best performance". Click OK. Remember, this will remove some visual effects. If you want that XP style UI (the round buttons and blue taskbar), Keep "Use Visual Styles on windows and buttons" Cheked in the visual effects list.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.