Hmmm, anyone else having this problem? I just checked it from an outside location (ie. my work) and it works fine. Did you paste it an miss a character or something?
I'd be happy to email the code to anyone who wants it however I'm at work right now and I wont be home until late tonight so it will be a while. ~Matt Quoting Jo�o Carlos Fernandes Costa <[EMAIL PROTECTED]>: > Matt, > > The URL isn't working. Could you please send me the file? Thank you. > > Joao > > -----Original Message----- > From: Matt Penner [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 1:56 PM > To: [EMAIL PROTECTED] > Subject: Re: Java Servlet HTML > > > If you want, I created an html to java code utility and put it on the > web > some > time back at http://www.timeless-creations.com/ServletUtils.htm. This > is a > simple servlet which you can type or paste an entire set of HTML code > into > it > and have it converted to java println() statements. > > Not the preferred way but it's quick and easy and I loved it in the > beginning. > > Try it out if you want. > > ~Matt > > Quoting Michael De Vorms <[EMAIL PROTECTED]>: > > > 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
