How can we tell servlets to use proxy server settings? To avoid our firewall. -----Original Message----- From: andrea [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: Re: R: Java Servlet HTML
----- Original Message ----- From: "RBonazzo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 1:58 PM Subject: R: Java Servlet HTML Why don't you write an html as a template In your program read it and send it to the output. Regards Rinaldo -----Messaggio originale----- Da: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]] Per conto di Michael De Vorms Inviato: mercoled� 30 gennaio 2002 8.30 A: [EMAIL PROTECTED] Oggetto: Re: Java Servlet HTML Thanks for all the input. What I want to do is just type in my java ide, A html page just as i would in notepad but do all the code at ones instead of line by line or +" "; Im new to servlets any advice greatly apperciated! >From: Rohan Shrinivas Desai <[EMAIL PROTECTED]> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java > Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Java Servlet HTML >Date: Tue, 29 Jan 2002 10:35:14 +0530 > >hi micheal, > > i didnt get ur first question.... >but i sure do have an answer for second one... > >what u can do is something like follows.. > >StringBuffer sb = new StringBuffer(); >sb.append("<html>\n"); >sb.append("<head>\n"); >sb.append("<title>My Website</title>\n"); sb.append("</html>\n"); >out.println(sb); // where out is the instance of printWriter >class > >hope this helps > > >-----Original Message----- >From: Michael De Vorms [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 29, 2002 10:11 AM >To: [EMAIL PROTECTED] >Subject: Java Servlet HTML > > >Hello In java servlets, Im sure there is a way to post all my HTML code >with the formatting I choose as one string. >For example > > <html> > <head> > <title>My website</title> > </head> > <body> > Welcome to my web site > </body> > </html> > >Instead of having to write each seperate line as a string! Thanks in >advance, Micahel De Vorms > >Also when view>source is selected I want the html to come us as I did >it in the java code, not in one long line! > > > >_________________________________________________________________ >Join the world's largest e-mail service with MSN Hotmail. >http://www.hotmail.com > >_______________________________________________________________________ >____ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > >DISCLAIMER: Information contained and transmitted by this E-MAIL is >proprietary to MASCOT SYSTEMS LIMITED and is intended for use only by >the individual or entity to which it is addressed, and may contain >information that is privileged, confidential or exempt from disclosure >under applicable law. If this is a forwarded message, the content of >this E-MAIL may not have been sent with the authority of the Company. >If you are not the intended recipient, an agent of the intended >recipient or a person responsible for delivering the information to the >named recipient, you are notified that any >use, distribution, transmission, printing, copying or dissemination of this >information in any way or in any manner is strictly prohibited. If you have >received this communication in error, please delete this mail & notify us >immediately at [EMAIL PROTECTED] Before opening attachments, please >scan for viruses > >_______________________________________________________________________ >____ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com ________________________________________________________________________ ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ________________________________________________________________________ ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ________________________________________________________________________ ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
