This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Can we output a grahic item onto a browser through a servlet. I tried writing this in a servlet out.println("<input type=button" + " name=\"B1\"" + " value=\"Add\"" + ">"); but I dont get a button on the browser. Can somebody correct me if I am wrong somewhere. Thanks in advance Andy
you should to use a string buffer for resource perposes. For a button you need a argument for name, and value, the code should be
------------------ I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
andy, please read and follow the Naming Policy. It's to your benefit. We periodically do book give aways to people who post to a forum and as a matter of fact one is being conducted on the Servlet forum now. Only those who meet the naming policy are entered in the contest for the give away so.... Looking forward to your posts
Inaddition to what others said u have to include this as well response.setContentType("text/html");
Joined: Dec 01, 2000
Thanks guys for the replies. I got it worked out. I forgot to put the form tag in the servlet. Appreciate your help guys. Carl, I am sorry to use an alias, from now on I am going to use my real name. Thanks Carl, Brett and Ram for your help.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com