Hello,
I have a simple Hello World portlet, which looks like the following :
import java.io.*;
import javax.portlet.* ;
public class HelloWorldPortl et extends GenericPortlet {
public void doView(RenderRe quest request, RenderResponse response) throws IOException, PortletExceptio n {
response.setCon tentType("text/html");
response.getWri ter().print("He llo World!");
}
}
It works fine. Now, I'd like to add a text box and be able to get the value of the text box into a Java string
variable. I wonder if someone could please tell me how to do this?
Thank you,
Akino
I have a simple Hello World portlet, which looks like the following :
import java.io.*;
import javax.portlet.* ;
public class HelloWorldPortl et extends GenericPortlet {
public void doView(RenderRe quest request, RenderResponse response) throws IOException, PortletExceptio n {
response.setCon tentType("text/html");
response.getWri ter().print("He llo World!");
}
}
It works fine. Now, I'd like to add a text box and be able to get the value of the text box into a Java string
variable. I wonder if someone could please tell me how to do this?
Thank you,
Akino