Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by pr0n603

  1. pr0n603

    Servlets not working under some directories

    i think the paths are case sensitive. You said the directory name is ICS_Samples651, the application is trying to access ics_tamples651 (as the error message indicates). So, make sure you are case compliant!! good luck
  2. pr0n603

    nesting directives in scriptlets

    I have a jsp page and in that page i have one include directive ( <%@ include file="page_1.jsp" %> ) I want this include directive to be dependent on a certain variable. so, .... I want to have a specific <%@ include file="filename.jsp" %> for each value of a specific variable. basically, if...
  3. pr0n603

    request.setAttribute() visibility

    Im talking about HttpServletRequest not HttpSession
  4. pr0n603

    nesting directives in scriptlets

    The search function is broken again and i apologize if there is another thread answering this question. I want to conditionally use the include directive in my jsp page (i.e. If a certain variable is true, include jsp1.jsp, else include jsp2.jsp). something like this <% String show_main =...
  5. pr0n603

    request.setAttribute() visibility

    This might seem like a really stupid question.... Is the data transfered through HttpServletRequest.setAttribute(String, Object) and HttpServletRequest.getAttribute(String) visible to traffic outside the web server. Meaning, are these objects transfered through URL rewritting/cookies or are...
  6. pr0n603

    Upload files...

    the code does indeed work flawlesly. My problem was that when uploading large files, the processing time was significant. I implemented the FileUpload package from Apache Commons and it really did cut down on the time. Also, its very easy to use, all you need too do is call a couple of methods...
  7. pr0n603

    How can I upload 2 different file?

    you can use two <input type="file"> statements in the html code and then use the Commons Upload api from Jakarta http://jakarta.apache.org/commons/index.html to obtain the 2 different files submitted through the same html form. have fun
  8. pr0n603

    failover for linux servers

    thanks for the advice guys. Ill check this stuff out and let you know how it came along. happy new year!
  9. pr0n603

    Server spec to run Tomcat

    thanks a lot sedj!
  10. pr0n603

    getting req.getContentLength() before whole file is uploaded

    Hi all, I have a page that lets users upload files. I'm limiting users to uploading files that are smaller than 5MB. Currently, the server checks the HTTPServletRequest content length. However, this means that the whole file must 1st be uploaded before the servlet can respond with "file too...
  11. pr0n603

    Server spec to run Tomcat

    probably having 5-10 users downloading at the same time thanks
  12. pr0n603

    failover for linux servers

    so i would need a 3rd server running the load balancer and it would sit in front of the 2 servers?
  13. pr0n603

    linux hard drive problem!!!

    lol yea, i remmember the 1st time i did "rm -rf /" My boss wasnt happy! maryam, if you can still log onto the machiene. See if all your directories are intact. if not, try botting in emergency mode (at the boot prompt, type "<image_name> emergency" usually image name is something like "linux"...
  14. pr0n603

    drawback of using paypal

    iv been trying to figure out paypal myself. Does anyone know if there is a minimum amount of money paypal is willing to do the transaction for. Let say a consumer buys something thats $4.99 with shipping and handling included. Will paypal process the $4.99? Also, how much does paypal charge...
  15. pr0n603

    failover for linux servers

    ahhh, Iv heard of round robin but as BuckWeet mentioned, I thought the session problems would come up. As for loadbalancers, do i need a hardware laodbalancer (like F5) or are there any software-type load balancers (preferably, of course, free) that would run on 1 server and redirect overload...

Part and Inventory Search

Back
Top