Hi

 I have some questions which ought to be cleared
 before I start up my project.

 1. I was trying to run unix commands from my
 servlet.
 I used the getRunTime() and exec commands
 appropriately. It ran perfectly when stand alone
 Java  applications were run but when the same code is
made  to run through servlets, it gave me an
IOException  and  most times my JSWDK startserver
terminated. It would  be great if u can provided with
some sample code for  this.

2. I wanted to make swing components run in JSP so
that my user interface on browser looks better. I
wanted to have a Jlabel, JTextField and JButton in
my JSP so that, it displays on my browser when my JSP
page is run. However, I dont know how to make this
happen. I tried using Container c = getContentPane();
c.setLayout( new BorderLayout()); But, it didnt
recognize getContentPane. I dont know any other way to
display my gui stuff on the browser using JSP.

I would really appreciate if you can advice me in
the above said stuff.

Thanks
Manish


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to