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!

Search results for query: *

  • Users: pr0n603
  • Content: Threads
  • Order by date
  1. 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 =...
  2. 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...
  3. 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...
  4. pr0n603

    failover for linux servers

    I have 2 servers running Debian, MySQL, Apache Tomcat and a Java webapp. They sit behind a NetGear router with port 8080 (http in this case) forwarded to Server A. I want to be able to do a couple of things: 1) if mysql/tomcat crash on server A, i want all trafit to go to server B and the...
  5. pr0n603

    Uploading non-ascii (pdf/jpeg) files w/ servlets + &lt;insert type=&quot;file&qu

    hi, I am writting a servlet that reads the uploaded file from InputStream data from the HttpServletRequest and write a file of that type to the server. I saw sedj's code on http://www.tek-tips.com/viewthread.cfm?qid=881282. The jsp code works w/o a glitch for ASCII files like with .txt...

Part and Inventory Search

Back
Top