Looking for a servlet expert

can anyone explain to me how to write a file to the server using a servlet?
everything i've tried as not been working
thanks
Andy

thats what i thought about the way to write to the files, but i believe that i'm having troubles actually getting to the servlet code.
here is what i have so far...
//*********applet***********/
try
URL baseURL = getCodeBase();
String protocol = baseURL.getProtocol();
String host = baseURL.getHost();
int port = 808;
String urlSuffix = "/servlet/contactlist.servletOne";
URL url = new URL(protocol, host, port, urlSuffix);
URLConnection conn = url.openConnection();
// inform the connection that we will send output and accept input
conn.setDoInput(true);
conn.setDoOutput(true);
// Don't use a cached version of URL connection.
conn.setUseCaches (false);
conn.setDefaultUseCaches (false);
InputStream inputStreamFromServlet = conn.getInputStream();
inputStreamFromServlet.read();
inputStreamFromServlet.close();
System.out.println("testing for the end8");
catch(IOException io) { io.printStackTrace(); }
//********servlet***********/
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
System.out.println("get");
try
FileWriter f = new FileWriter("G:\\Intranet\\wwwroot\\Contact\\contactlist\\Departments\\test.htm");
f.write("testing");
f.flush();
f.close();
catch(IOException io) { io.printStackTrace(); }
i've never been able to see the "get" in the log.

Similar Messages

  • Looking for an AS3  expert

    Urgent requirement, looking for AS 3 expert, please contact me with your contact info ASAP.
    Thanks a million

    private message sent.

  • I'm looking for a consultant/expert....

    I'm looking for a consultant to help me through the rough spots in HTML/CSS, Javascript, jQuery, php, and also with the Adobe suite of products. I'm visualizing just doing occasional phone consultation with a screen share by Adobe Connect or Joinme.com. Let ke know if you are this person, or know somebody like this. Consulting fee based, possibly a monthly retainer...

    Hi McFrisco,
    You'll get quite a bit of free expert help in this forum if you post specific questions and show us your code.
    HTML, CSS & JavaScript are not hard concepts to learn on your own.  PHP/MySql is more advanced and should be undertaken only after you have a working knowledge of the other three.
    It would help us help you if you tell us something about yourself.
         a) How much coding experience do you have?
         b) What do you feel most & least comfortable with?
         c) A brief description of your project goals.
         d) A link to your site (if you have one).
    I can only speak for myself but like most people here, I regularly donate time to this and other forums while simultaneously working on client projects. If you need a bit of hand holding while you work through tutorials, Adobe forums contain a pool of worldwide product users who are available 24/7.  Owing to differences in time zones and other commitments, a private consultant might not be as convenient to reach when you have burning questions.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Looking for Financials Functional Expert - $100/Hr + Contract Opportunity

    Our company has been looking for Oracle Financials functional consultants who have implemented the below modules for other organizations - iReceivables, iPayables, Adv. Collections and LockBox
    This is an existing EBS installation with A/R already implemented. We need an expert who can help us implement the above new modules.
    Pl. respond with resume and contact info to [email protected]
    Thanks

    Hi sir,
    I am currently working in a MNC, as an engineer. I am keenly interested in Labview, and i know basics of it.
    Attached is my resume. I would like to work with Labview.
    Regards,
    Pooja karnani
    Attachments:
    RESUME.docx ‏30 KB

  • Looking For Adobe Edge Experts

    I tried a Google search but wasn't getting what I was looking for. We have a couple of people on our in-house creative team who develop in Adobe Edge. However, they are uanble to fulfill all of the requests we get for this type of work. We can't get more head count for our department just yet so are searching for reputable Adobe Edge experts who we would like to outsource some of the overflow work to. Does anyone know of a good place to find suitable professionals?
    Thanks in advance for any help!
    Tara

    Hi,
    I'm alwase available for freelance work, I'm working with Edge Animate since the first version and founded the community Edgehero for it.
    Made Edgehero.js and worked on alot of advanced projects already.
    Feel free to contact me and check out the rest of the Edgehero crew : http://www.edgehero.com/about.html
    - Rob Boerman
    Edgehero.com

  • Looking for Local XSan Expert

    We've recently set up 4 Seats on Xsan and while we've had a knowledgeable admin set up the system, we're in need of someone to help maintain and be on call for any issue we may experience. We have a 10 TB system and are working in FCP. Any advice on how to find someone in the Nashville, TN area?
    Thanks,
    - Matt

    Matt,
    I just happened across your post here... maybe a little late, but if you're still looking for some help with your Xsan, the perfect person for the job is right in town. Chad Grant is an Systems Engineer working with Mac Authority right here in Nashville, TN. He holds nearly every relevant certification, and is not only certified and experienced with Xsan, but is a Final Cut Trainer as well. Probably one of the best people in the country for your needs. For scheduling, contact the Corporate / Enterprise dept. at Mac Authority.
    615-577-4306 Ask for TJ.

  • Looking for javax.servlet, installed tomcat

    I've just installed Tomcat and then updated to the new JDK 6 and I try to compile something and it tells me package javax.servlet and javax.servlet.http.* does not exists.
    Where can I find these packages? Reinstallation of Tomcat really isn't an option.

    I guess this is related to:
    http://forum.java.sun.com/thread.jspa?threadID=792852&
    messageID=4506628#4506628
    Why did you not get them to install EE at the same
    time they did tomcat? You knew about this before.
    Also, I think you need to start saving your own
    computer, it seems your school is giving you a
    headache.aye, it is. I thought someone said that tomcat came with those packages. Oh well, I have my own computer ( a nice one, I built it) but my mother won't let me connect it to the internet (I'm 'that age' for pornography). I'm a senior, I'll be glad when I get out this coming spring. My lovely system admin has my e-mails filtered into his deleted items box... I really hate this place.
    They did:
    If you're just using Servlets an JSP, you don't need the whole J2EE stuff, Tomcat is enough, for example. The textbook should have mentioned that.
    from JoachimSauer
    Message was edited by:
    Vagabon

  • ANN Looking for PrePress / Indesign expert for consulting

    Hello all,
    I'm working on my first InDesign job.  It's upaid and I'm doing it for my portfolio.
    Everyone on these forums have been greatly helpful and I was hoping one of you could take a look at our screen via i-chat and let us know where we might be running into issue with the text that was created in Photoshop.  Please send me a message letting me know what you would charge (in an hourly rate) to work with us.  I've been watching tutorials and learning a lot, but I'm still a beginner with Indesign and I have to make sure that this magazine prints perfectly.  I have a lot of people counting on me.  I could pay via paypal or check.  I need someone with a lot of experiance working with offset printers.  I don't have the greatest communication with mine who is in China.
    Thanks!

    Please respond using the Private Message system. Click the user avatar and you'll see Send a Private Message in the box on the right.

  • Looking for JSF technical expert for candidate screening!

    I need help in the technical screening of candidates for a JSF related opportunity. Would need someone who is expert level experience in all of JSF technology. If you are interested or know of someone who would be interested, please contact me immediately at [email protected]
    Thanks!!

    I blocked your advertisement, which is a violation of the Code of Conduct to which you agreed when you registered here. Further occurrences can lead to blocking of your account.

  • Smartforms - delete old variables - looking for a real expert

    Hi folks,
    Is there any possibility in Smartforms, that I don't know, with which I can analyse my fom. I want to check which variables aren't needed any more. So that I can delete them and I have a nice and clean form.
    How I loved my analyse tool in sapscript... I would write an new one, but I didn't found out how the texts are saved in the system.
    Is there anybody out there, who can help me?
    Regards
    Silvio

    Hi!
    For an extended check you can do the following:
    - check out which FM belongs to your smartforms (smartforms transaction - environment - function module name)
    - go to SE37 - View - Check - Extended program check
    Regards
    Tamá

  • Looking for a PDF expert to advise me on conversion problems with Hindu fonts.

    I guess that PDF does not support Hindi fonts so I have outlined my indesign original document.
    When I do the PDF conversion, the commas add a small outline of a box above the comma. This is not in the document before the PDF conversion.
    Any help will be greatly appreciated.

    I assume you are using devanagari characters to write hindi. PDF should have no trouble to display devanagari, but this is not the end of the story.
    To correctly show devanagari requires complex shaping procedures including character reordering and changing the shapes of characters, and repositioning (see Shaping: Devanagari OpenType specification to see how Windows handles this).  PDF does not do any of this, but that is not a problem. Rather, the creator of the PDF must complete reordering, choosing different shapes, and changing positions, and only then can the PDF be made. It should show correctly on screen. If it does not this is probably not a fault in the PDF viewer, but a fault in the programs which MAKE the PDF (InDesign in your case).
    So you need to be sure that you are using a version of InDesign with full support for devanagari including complex shaping and PDF export. If you do not have this support, it will not be feasable to set your hindi text. And if the PDF is wrong, this is something for the support for InDesign (or the InDesign add-on you buy).

  • Looking for Oracle INDEX expert

    Anyone has an idea about the difference between IndexA and IndexB and which one is recommended?
    CREATE INDEX INDEX_A on TableA(Column1)
    TABLESPACE indx;
    CREATE INDEX INDEX_B on TableA(Column2)
    TABLESPACE indx;
    and
    CREATE INDEX INDEX_C on TableA(Column1, Column2)
    TABLESPACE indx;
    How Oracle knows which INDEX to be called?

    The one that is recommended, totally depends on the queries you'll be firing against your table. If the queries will be like:
    select ... from TableA where Column1 = :1and
    select ... from TableA where Column2 = :1then your first option is the right one. If they are:
    select ... from TableA where Column1 = :1 and Column2 = :2then your second option seems right.
    Note that with the second option, this index may also be used in the first two queries, if the selectivity is good enough. But again, this depends on your data and data distribution.
    How Oracle knows which INDEX to be called?By using his cost based optimizer and predicting the cardinalities and the selectivity of your indexes.
    Regards,
    Rob.

  • Looking for Toronto (GTS) based MAC expert... suggestions?

    Looking for a MAC expert that can come into by business and assist with all our computers.
    We have the need to configure all our computers, place a backup system in place. etc.

    These forums are mainly for asking technical questions; Apple does not participate except to occasionally make sure that the ToU are being followed. I believe there is a business section if I'm not mistaken? Ahh, here is a link to the Apple Business Store:
    http://store.apple.com/us_smb_78313
    You might want to start there; I am sure there'd be resources, but since I've never had the need, I don't know where to find them.

  • Looking for a software development company or expert programmer for plugin

    I work for a company that hosts web software that many newspapers use to power their online websites. We are interested in working with an expert individual or firm in programming extensions or plugins for InDesign. The goal is to build a function within InDesign that gathers all of the newspaper articles from within an InDesign file and send them through the internet into our online system *from within InDesign*. In other words, we are not interested in a "save to xml" type of option... we are interested in an option that would be called "Send articles to website" which would scrape together all of the content, package it in a structured way, and upload it to a drop box of come kind hosted on our server. From that point, programmers at our company will write the server-side routines to detect the uploaded materials, parse through them, and populate the site.
    Again, I need someone who's a proven InDesign software expert who can create a cross platform solution for our needs. Can someone please point me in the right direction?
    Thank you,
    Jon

    Hi Jon,
    We checked your posting in the adobeforums that you are looking for reliable and honest software delivery company.
    It is always better to hear from the existing customer own voice rather than me.
    http://sales.mclansys.com
    We can add vlaue to your business model as global delivery model of your firm in long term prepostion ..
    i am available most of the time in MSN and skpye we can chat any time
    Looking forward to hear from you -Thanks
    With regards,
    Kavitha.S
    Mclansys.com
    SKYPE :kavi_support
    MSN :[email protected]

  • A Professional Java BEA Aqualogic Expert looking for contract position

    A Professional Java BEA Aqualogic Expert looking for contract position in Northern/Central NJ or NYC.
    For more details, please feel free to contact me:
    Dmitry Bryazgin
    [email protected]
    Cell: 212 365 4747
    Edited by Bryazgin at 04/02/2008 7:58 AM

    Don�t give up!
    I know it is not the forum for this but I couldn�t resist dropping you this message. I lost my job since February. I have tried many things and I am still trying.
    Keep working every day that is the Key.
    Best luck.
    chuck

Maybe you are looking for

  • Kerberos double hop works internally, but not when published via TMG

    Hi all,           Have 2 x IIS 8.5 servers internally with .net applications on them The IIS servers have been configured to use a domain account for their apppool... and credentials are pass successfully from the front end server to the back end ser

  • E-mail vs contacts

    What's the difference between e-mails that Mail memorizes contacts in the address book? Where do I edit the e-mail addresses that Mail memorizes Steve

  • GR in Variant Configuration

    Hi, I want to do manual Goods receipt to a configurable material (Mat Type KMAT) through MB1C. Is it possible with regular movement type? Thanks and Regds, Sridhara K N

  • Bridge Autonomous 1252 AP to lightweight WLAN

    I have a Cisco WLC 5508 managing several 1252s in lightweight mode.  There is a portable across campus that has a standalone network but no cabling to tie in to the corporate network.  I have another 1252 that is in autonomous mode.  Could I essentia

  • Can't exit safe mode - Satellite A300

    Hello. Hope someone can help! My laptop goes into safe mode when I start it up and cannot get it to start back in normal mode. I have tried "Repair your computer" - doing a startup repair and a system restore, with no success. I ran cmd/sfc/scannow a