RTF to HTML Conversion to include in JSP

I have an RTF file which I need to display in a JSP page.
I have converted the file successfully using RTFEditorKit and HTMLEditorKit, and now have a string which is a complete HTML file.
Unfortunetly I need to show this String in a JSP - this has a title at the top of the page and an exit button at the bottom. I cannot simply print the String as it contains HTML headers and so the page does not display correctly.
Is there a way to include the HTML string in the jsp successfully?
I don't want to output the HTML to a file and then include the file or use object or iframe to include the file.
Is there an easy way perhaps to strip the header tags from the String?
Or create the HTML string without the header tags at all?
Thanks

hi,
i'm also trying to do the same thing (convert rtf to html). i was wondering if your conversion handles tables and if so if you could post the code as i'm having trouble finding out info about rtf's.
in terms of stripting out the body tags there are a number of different ways of doing this, here's one way>
myBigHtmlString = your html doc loaded in to a string;
String[] tagsToStripOutArray = {"<html>","</html>","<body>", "</body>", "etc", "etc"};
int pos=0;
for (int x=0; tagsToStripOutArray.length; x++) {
pos = myBigHtmlString.indexOf(tagsToStripOutArray[x]);
if (pos != -1){ // if tag exists in string strip it out
myBigHtmlString = myBigHtmlString.substring(0,pos)+myBigHtmlString.substring(pos+(tagsToStripOutArray[x].length());
}// end for
i haven't compiled this so there maybe errors,
cheers,
ben

Similar Messages

  • RTF to HTML conversion - Non-English Text

    Hello,
    I am trying to convert a RTF file to a HTML file. Below is the code that I am using. I am not able to convert non-english text properly (German, French, Swedish etc). I like to know the proper way of doing this and if there is a more efficient way of doing this conversion in general (It is taking around 1 minute for this to complete on a 300 MHz, 320 MB iBook). Thanks.
    Regards
    Sarat
    Code Begins
    public class FormatConverter {
    private DefaultStyledDocument tempRTFDoc;
    private HTMLEditorKit htmlKit;
    private RTFEditorKit rtfKit;
    public FormatConverter () {
    tempRTFDoc = new DefaultStyledDocument();
    htmlKit = new HTMLEditorKit();
    rtfKit = new RTFEditorKit();
    public String convert(String strText) {
    String strResult = "";
    StringReader reader = new StringReader(strText);
    try {
    tempRTFDoc.remove(0,tempRTFDoc.getLength());
    rtfKit.read(reader,tempRTFDoc,0);
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    htmlKit.write(byteArrayOutputStream,tempRTFDoc,0,tempRTFDoc.getLength());
    strResult = byteArrayOutputStream.toString();
    catch(IOException ie){}
    catch(BadLocationException ble){}
    return strResult;
    public static void main(String args[]) {
    // Read the rtf file from disk
    FileInputStream in = null;
    try {
    in = new FileInputStream("sample.rtf");
    } catch (java.io.FileNotFoundException ioe) {
    System.out.println("sample.rtf file not found");
    byte []input = new byte[10000];
    try {
    in.read(input);
    } catch (java.io.IOException ioe) {
    System.out.println("Error reading from sample.rtf");
    // Do the conversion
    FormatConverter conv = new FormatConverter();
    String strHTML = conv.convert(new String(input));
    // Write the html file to disk
    FileWriter out = null;
    try {
    out = new FileWriter("output.html");
    } catch (java.io.IOException ioe) {
    System.out.println("Error creating file output.html");
    try {
    for (int i = 0; i < strHTML.length(); i++)
    out.write(strHTML.charAt(i));
    } catch (java.io.IOException ioe) {
    System.out.println("Error writing to file output.html");
    // Close the files
    try {
    if(in != null)
    in.close();
    if(out != null)
    out.close();
    } catch (java.io.IOException ioe) {
    System.out.println("Error closing files");
    System.out.println("Conversion done");
    System.exit(0);
    Code Ends

    hi,
    i'm also trying to do the same thing (convert rtf to html). i was wondering if your conversion handles tables and if so if you could post the code as i'm having trouble finding out info about rtf's.
    in terms of stripting out the body tags there are a number of different ways of doing this, here's one way>
    myBigHtmlString = your html doc loaded in to a string;
    String[] tagsToStripOutArray = {"<html>","</html>","<body>", "</body>", "etc", "etc"};
    int pos=0;
    for (int x=0; tagsToStripOutArray.length; x++) {
    pos = myBigHtmlString.indexOf(tagsToStripOutArray[x]);
    if (pos != -1){ // if tag exists in string strip it out
    myBigHtmlString = myBigHtmlString.substring(0,pos)+myBigHtmlString.substring(pos+(tagsToStripOutArray[x].length());
    }// end for
    i haven't compiled this so there maybe errors,
    cheers,
    ben

  • Using a real file path to include a JSP using RequestDispatcher

    Hi,
    I am trying to figure out how to use RequestDispatcher inside a servlet to include a jsp page using a real file path instead of a context path. So for example I would want to do something like...
    RequestDispatcher rd = this.getServletContext().getRequestDispatcher("c:/tomcat/conf/think.jsp");
    Is this possible? tomcat is complaining that the path does not start with a "/"
    From a higher level I am trying to setup a solution where all of my web applications can share a set of global jsp pages and other resources. I know the easiest solution would be to put everything into one web application but this does not make sense in my situation because I have differnet web applications for different companies on the same server. Any help would be greatly appreciated. - krebsnet

    First of all...
    My test environment is Tomcat 4.1.24 and it runs on port 80 as my webserver as well.
    I can place the .jsp (or .html) in the shared folder. Not in the lib or class folders but right in the shared folder. I can then call it from multiple contexts without using the context path. Just tested it a minute ago. For example I have test.jsp in the shared folder and loaded it from two separate contexts (one named /demo and one named /inetapps) by calling Load test. It loaded in both of them and neither contain a test.jsp file.

  • BEAN : Bean included in JSP Page

    Hi ,
    I had developed a web-application in that I had included a bean in a JSP code by using the following
    <jsp:useBean id="testbean" scope="session" class="path.test" />
    now the problem is some times when we click on that particular JSP page where this bean is included the screen instead of generating the jsp page it gives a complete path of the bean location as specified in the JSP ( i.e ) "path.test" .
    When I click the refresh button then the page get's loaded properly.
    This issue taken place rarely but it's very important to solve this and it happens in all the JSP pages wherever I had included a bean but only sometimes .
    Why so??? and help me to solve this problem
    Server: Apache � Tomcat 5.0
    thanks in advance

    You are absolutely correct. All your java classes should be in packages.
    I actually think its a java limitation introduced in Java 1.4 - they no longer allow access to the unnamed package.
    For full details check out: http://developer.java.sun.com/developer/bugParade/bugs/4361575.html
    My suggestion: include all your beans in packages. Its not that hard is it?
    Cheers,
    evnafets

  • How can I include a JSP, Maximized, and retain look and feel(WSRP)

    I have created a page group and defined a root page with a certain look and feel. There are two portlets on the page. Once the user clicks on a submit button, the portlet performs some action and includes a jsp included in the EAR file. The portlet needs to maximize the UI to display the jsp correctly.
    Once control returns back to the screen, the look and feel is lost and uses Oracle's default style. I have two questions:
    1. From the portlet, how can I retain the look and feel of the page group when referencing "external" jsp (i.e JSPs in the deployed portal EAR file).
    2. How can I "redirect" the user to the home page in a standard way? If there is not a standard way, how do I use the Oracle specific utilities to do it?
    All of my JSPs are developed externally out of the scope of the Oracle Portal.
    Environment - Oracle Portal 10.1.4 on Release 2 using WSRP to contact Oracle Release 3, hosted EAR file (WSRP Producer).
    Thanks in advance.

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • How can i include a jsp file in servlet?

    hi
    i generate a dynamic page from servlet.
    i need to include a jsp file in same servlet.
    i try like this --
    out.println("<HTML>");
    out.println("<HEAD><TITLE>First</TITLE></HEAD>");
    out.println("<BODY>");
    out.println("<%@ include file=\"abc.jsp\">");
    out.println("<FORM>");
    out.println("</FORM>");
    out.println("</BODY>");
    out.println("</HTML>");

    Replace your line with
    RequestDispatcher rd = request.getRequestDispatcher("abc.jsp");
    rd.include(request, response);

  • How to include a jsp in child window?

    Hi,
    I've a jsp which creates a new window(a new jsp using window.open()) while clicking a button.In the new jsp i'm including another jsp using ,
    <jsp:directive.include file="first.jsp"/>
    but in the window jsp's is not getting included.I've tried <%@ ..
    include also.But all in vain.
    Additionaly I'm giving css in the window using
    <link ref="stylesheet" href="/editor/mystyle.css"/>
    which is also not working.
    Can somebody help on this?
    Thanks,
    Shabeer.

    hi
    I think this url can helps to your for resolve your issue.
    http://www.oracle.com/technology/sample_code/tech/java/jsps/ojsp/jspxml/Example.jsp.html
    Regards,
    Sridhar

  • How to include more jsp?

    Hi,
    I've header.jsp, footer.jsp, content.jsp (which is loaded dynamically) and a main.jsp. I would include all jsp into main.jsp.
    This is the header.jsp
    <div id="logo" align="top">
    <img src="http://www.company.com/images/logo-red.gif"/>
    <div class="user-info">Welcome, <h:outputText value="#{user.email}"/></div>
    </div>
    The footer.jsp is
    <div id="footer">
    <div id="footer-copyright">Copyright &copy; 2006 MyCompany, Inc.</div>
    </div>
    The content.jsp is
    <h:dataTable value="#{controller.renderedSteps}" var="vitem"
    rowClasses="stepdescription-text">
    <h:column>
    <h:outputText id="stepDescription" value="#{vitem.step.description}"/>
    </h:column>
    <h:column>
    <h:commandButton value="next step"
    action="#{controller.nextStep}"
    rendered="#{vitem.isRendered}"
    disabled="#{vitem.isDisabled}" />
    </h:column>
    </h:dataTable>
    The body of main.jsp is
    <body>
    <f:view>
    <h:panelGrid>
    <jsp:include page="header.jsp"/>
    <jsp:include page="content.jsp"/>
    <jsp:include page="footer.jsp"/>
    </h:panelGrid>
    </f:view>
    </body>
    The problem is that when I load the main.jsp seems that the <div> are ignored.
    I'm very new in JSF and JSP\HTML.
    Thanks

    Use f:subview and use f:verbatim.
    First, f:verbatim... This JSF tag allows you to write HTML verbatim to your page. Whenever you have an HTML tag in any included page from a JSF app, it must be wrapped in f:verbatim. It is also good practice to use f:verbatim in your main page too, though it is not absolutely required. Do not wrap JSF tags in f:verbatim, it will not work.
    A general rule of thumb is to attempt to use as little HTML as possible. The JSF tag set with CSS actually eliminates the need for a great deal of HTML. I suggest picking up a good book that explains each component in the JSF library. Such as Core JavaServer Faces by David Geary and Cay Horstmann. Some free chapters can be found here (Check out "Basic Standard Components): http://www.horstmann.com/corejsf/
    Seconly, use f:subview when including a page. Either inside the included JSP or around the include statement. Like so:
    <f:subview id="header">
        <jsp:include page="header.jsp"/>
    </f:subview>
    OR
    <f:subview id="header">
    <f:verbatim><div id="logo" align="top">
    <a href="http://www.mycompany.com/">
    <img src="http://www.company.com/images/logo-red.gif"/>
    </a>
    <div class="user-info">Welcome, </f:verbatim><h:outputText value="#{user.email}"/><f:verbatim></div>
    </div></f:verbatim>
    </f:subview>For more information, check out this related forum posting:
    http://forum.java.sun.com/thread.jspa?threadID=715984&start=10&tstart=0
    Hope this helps!
    CowKing

  • Problem including a jsp in edit mode

    Hello
    Somehow i have a problem while including a jsp page while displaying the edit mode.
    If my doEdot just writes something like "Hello World" into the response it just works fine.
    But if i try to include a jsp resource the problems start to arise:
    1. The normal resource lookup request.getResource(IResource.JSP, bla) returns an unavailable resource. This seems the be because although a working instance of my portlet is used, the passed request  belongs to another context.
    2. Passing a precomputed resource seems to work, the page definitly gets called (-> it gets compiled and no errors show in stacktrace), but a sap dialog shows, saying that no properties exist, that can get configured cry
    I even stripped the jsp page to the single line "Hello", it gets compiled, but not shown!?
                                                                                    edit: After the dialog a new dialog is shown sayin:  The specified root item cannot be retrieved from the configuration. Correct the entry before trying again
    Even IF my confoguration is wrong (higly possible), why does it only show when using include but not while writing directly into the response stream?
    Solution:
    Portlet gets called via doEdit and thus is in edit mode. Since jsp pages extend AbstractPortalComponent the service method does not serve via the doContent method but tries to call doEdit on itself. Since jsp pages usually do not define doEdit, the default edit behavior gets applied.
    Set Default mode within the request type and the request node.
    Message was edited by: Mark Vollmann

    Thank you it worked .I really doesn't have much experience in the front end.
    Thank you once again.
    I ahve another problem , this is alomst the same , here i have a html anchor when user clicks on that link i wnat to display the result in the same window , but it is displaying in the new window , it does not have frames , so i can not say target .
    here is the code , please give me advice
    <table>
    <tr>
    <td><jsp:include page="top.jsp" /></td>
    </tr>
    <tr>
    <td align="left" valign="top" width="50%"><jsp:include page="paneltranscripts.jsp" /></td>
    <td width="50%"><center>
    <%
    if(transcripts.length == 0)
    out.println("<h2>No Transcripts Avialable</h2>");
    else
    { %>
    <% out.println("You are viewing at ");%> <b> <%= roomname%> </b> <% out.println("room transcripts"); %>
    <br>
    <% out.println("To <b>view</b> the transcripts click on the link"); %>
    <br>
    <% out.println("To <b>download</b> the transcripts right click on the link, open it in new window and save the page"); %>
    <br>
    <br>
    <%
         for(int i=0;i<=transcripts.length-1; i++)
              if(transcripts.equals(""))
                   continue;
              else
              %>
                   <a href="/DigiChat/DigiClasses/Resources/<%= sitename%>/Transcripts/<%= roomname%>/<%= realtranscripts[i%">"><%= transcripts[i] %></a>
                   <br>
                   <br>
              <%
    %>
    </td>
    </tr>
    </table>
    When user clicks on the transcripts[i] i want to display the result in the same window.
    Thank you</a>

  • Index.HTml works fine but Inex.jsp can't access

    I ve create 2 folder and 2 files both file and folders have successfuly created HTMl will redirect Prefectly to JSp file but jsp can't run when i will save it by frontpage (simple open and click on save and close then its work fine) i have flush the file also in my code why it can't execute Note Its perfectly write in file that i want ..
    import java.io.*;
    public class createdir
         private static File fileOptions;
         public String mydir(String DirectoryName, String userDirectoryName, String userfileName, String userData, String userData1)
              //Write a File Text
              String myStringValue = "<%String loginIdName = request.getRequestURI();int lastValue=loginIdName.lastIndexOf(\"/\");loginIdName=loginIdName.substring(11, lastValue);session.setAttribute(\"loginId\", loginIdName);%><%@ include file=\"../../templates/"+ userData1 + "\"%>";
              String mystr = new String(myStringValue);
              //Create User Directory
              fileOptions = new File("c:/tomcat/webapps/soft", DirectoryName);
              fileOptions.mkdir();
              String Path = fileOptions.getAbsolutePath();               
              //Create Client Name Directory
              fileOptions = new File(Path, userDirectoryName);
              fileOptions.mkdir();
              Path = fileOptions.getAbsolutePath();               
              //Create Client Name File
              fileOptions = new File(Path, userData);
              try
                   fileOptions.createNewFile();
              catch(Exception e)
                        System.out.print(e);
              try
                        DataOutputStream myStream = new DataOutputStream(new FileOutputStream(fileOptions));
                        myStream.writeChars(mystr);
                        myStream.close();
              catch (Exception e)
                        System.out.print(e);
              return ("True");
         public void indexDir(String userDirectoryName, String userfileName, String userData)
              //Write a File Text
              String myStringValue = "<html><head><script>function redirect(){window.location=\"../user/" + userDirectoryName + "/index.jsp\";}</script></head><body onload=redirect()></body></html>";
              String mystr = new String(myStringValue);
              //Create User Directory
              fileOptions = new File("c:/tomcat/webapps/soft", userDirectoryName);
              fileOptions.mkdir();
              String Path = fileOptions.getAbsolutePath();               
              //Create Client Name File
              fileOptions = new File(Path, userfileName);
              try
                   fileOptions.createNewFile();
              catch(Exception e)
                        System.out.print(e);
              try
                        DataOutputStream myStream = new DataOutputStream(new FileOutputStream(fileOptions));
                        myStream.writeChars(mystr);
                        myStream.close();
              catch (Exception e)
                        System.out.print(e);
    }

    Hi Thanks for reply i found the problem my self ... The tomcat is abustlly running other wise it can't run local host. in my previous the i write by char due to this when its write in a file its crate spaces between every character then i use Buffer and i solve it :)

  • Render xml and html content type in single jsp

    I have 2 jsps, one jsp(a.jsp) is throwing content-type as HTML and other JSP(b.jsp) is throwing content-type as xml. I am making use of xsl to render the xml content in html format. But the problem is that i want to include b.jsp in a.jsp, and when i do so b.jsp doesn't make use of xsl for its rendering rather it displays the contents haphazardly.
    Plese help if somebody knows the solution.

    Below the following line ..
    <html:form action="addContact">Add this new form field..
    <html:hidden name="flag" value="0"/>Needless to say that this String variable flag should be defined in your ActionForm.
    Next, instead of ...
    <html:submit property="parameter"><bean:message key="ok.company" /></html:submit>Put this ...
    <input type="button" name="xyz" onClick="callSubmit(1);" value='<bean:message key="ok.company" />'>Then add a JS function as below ...
    <script>
    function callSubmit(flg)
         document.forms[0].flag.value=flg;
         document.forms[0].submit();
    </script>Finally in your ActionServlet, you need to find the value of the ActionForm variable flag via request.getParameter("flag").
    In case the value is set to 1, then it means that you need to send the particular row to DB. You may add additional flag values to correctly identify theparticular row which you may want to send to DB.
    Hope you got it.
    -Rohit

  • JSP Tag -- Including a JSP fragment in a Java Tag file

    Hi all,
    I have a query regarding JSP Tag file authoring by extending the TagSupport class. I would like to know if it is possible to include a JSP file fragment inside a Java file somehow.
    Specifically, I have created a simple template tag, which adds a header and footer template to the resulting HTML page.
    <bc:template>
    Hello World!
    </bc:template>produces for example
    <html><body>
    Hello World!
    </body></html>Now I have two JSP fragment files (head.jspf and foot.jspf), and I want to do do something like
    public class HtmlTemplateTag extends TagSupport implements TryCatchFinally {
      public int doStartTag() {
        // somehow include head.jspf
        return EVAL_BODY_INCLUDE;
      public void doFinally() {
        // somehow include foot.jspf
    }Which means, I want to execute had.jspf and foot.jspf from the Java class file. I am not sure if it is even possible. If anyone can help me with this, it would be greatly appreciated.
    thanks
    nilesh

    Your intention is to put a header/footer on pages in your web application?
    There is another way to do it - specify prelude/coda jsp fragments in web.xml
    Something like the following:
    <jsp-config>
      <jsp-property-group>
        <url-pattern>*.jsp</url-pattern>
        <include-prelude>/WEB-INF/jspf/head.jspf</include-prelude>
        <include-coda>/WEB-INF/jspf/foot.jspf</include-coda>
      </jsp-property-group>
    <jsp-config>

  • Include directive to include a JSP file from a JAR file

    I have an Eclipse project in which I have placed a JSP file in the package structure with the rest of my code. This is in fact only a code snippet page, not a full blown JSP file.
    I have a second project that is a Dynamic Web Project in Eclipse that incorporates the first project as a JAR in the /WEB-INF/lib directory.
    In this project I have a JSP file and I want to include the JSP file embedded in that JAR file.
    How do I do that?
    I'm thinking the only real solution is to rewrite the snippet portion as a custom tag.

    The JSP fragment page in question is actually a HTML form page. It is a form to be used specifically by a particular servlet. That is why they are "bundled" together in the same project, in the same package structure.
    I have multiple web applications that I want to include that form/servlet, so it gets added to these projects in the /WEB-INF/lib folder as a JAR library. But I don't want to recreate the form over and over again for each application. It would be nice if I could write a JSP page that wraps the fragment using an include directive to bring that fragment into the new page.
    So to do that with any other fragment I would write:
    <%@ include file="/WEB-INF/jsp/SOME_FORM.jsp" %>
    which works great if my fragment page is in the /WEB-INF/jsp subfolder. But if I want to access the JSP fragment as it is bundled in a JAR file, this:
    <%@ include file="/WEB-INF/lib/FORM.jar/SOME_FORM.jsp" %>
    doesn't work so good. It's just all wrong.
    I was wondering how I could just write one include statement to get what I need. There are work-arounds galore, but I thought if I could get this working it would be the simplest solution overall.

  • HTML Conversion Error

    I just installed Kablink Teaming 2.1 on SLES11_X64 and can not view uploaded files. I get the following error.
    HTML Conversion Error
    Error: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused
    I checked and made sure I was pointing to the right place for fonts, and all my folders had correct rights. Everything looks good, and I can download the files, I just can't use the view feature.
    Any help?

    There is information about WebDAV and edit-in-place using various
    versions of Office on Windows 7 in the Novell Teaming 2.1 readme. You
    might want to check that out, if you haven't already.
    In terms of using Novell's OO edition for document conversion, it's my
    experience that Novell's version of OO installed on Linux does not
    contain all the features of OO regarding document conversion.
    Specifically, the installation guide has a section entitled "Installing
    OpenOffice.org as the Document Converter for Teaming" that talks about
    when running the OO installer, to use the custom option and select ALL
    optional components. Some of these components are additional conversion
    handlers for OO that have not been included in the version of OO Novell
    includes with Linux.
    Having said that, you are correct in pointing out that the Stellent
    converters used in Novell Teaming provide a much richer set of
    converters than does OO used with Kablink Teaming. That's one of the
    benefits of the Novell Teaming product vs. Kablink Teaming.
    MacWiz.
    On 3/29/10 3:06 PM, csday wrote:
    >
    > I made a lot of changes and fixes over the weekend and found out some
    > differences between teaming and kablink. I am running MS office 2k7 on
    > top of Win7. Edit does not work correctly unless you download the MS
    > office web managment pack from early May, and I found out that I must
    > run the different office app's i.e "word, excel, etc.." in compatibility
    > mode "winxpsp3". That is fine and dandy except that doing that broke my
    > ability to open office files on my local workstation. With office 2k3
    > on xp it works great with no issues. I did get the OpenOffice server
    > running and the only thing that fixed was viewing my .doc and .xls
    > files, I could not view files uploaded from office 2k7 in xml form. If
    > I could find OpenOffice Novell edition for Linux, I am sure it would
    > work fine.
    >
    > I am not sure what to do with my Win7 machines running Office 2007, the
    > changes required to make it work with teaming seem to break other
    > functions of the app. Right now I am running Novell Teaming and Kablink
    > side by side to see which is going to be a better fit for us. One big
    > pro for Novell Teaming is I can view visio's and all office types to
    > include xlm format, I'm sure OO novell edition will fix that, but
    > OpenOffice won't be able to view those visio's.
    >
    >

  • Assigning html input value to a jsp variable

    I have the following problem: I need to assign the value of html <input> field to a jsp variable. This should be done without submittion of the form.
    <form name="main">
    <table>
    <tr>
    <td><input type="text" name="gantry" value="123"></td>
    </tr>
    <table>
    </form>
    Is there any way to access main.gantry.value from jsp and assign it to a variable? I tried
    <% prevGantry = main.gantry.value; %>
    but it didn't work, and the problem is not with parsong or initialisation. Please, can anyone help?
    Best regards, SoVa.

    No it can't be done. You are mixing up java with javascript.
    Java/JSP runs on the server end. Generates an HTML page and stops running.
    The page loads in the browser, and and can run javascript locally.
    The only way to run java code again is to go through the request/response process. ie submit a form, click a link, make an Ajax call...
    The only way to get a field from the screen into a java variable is via request.getParameter().

Maybe you are looking for

  • Settings problem

    How do I set Dreamweaver to automatically fix .swf object tags? (using 8.0) Dreamweavr would fix the object tags on my old computer, but it crashed and now that I have installed Dreamweaver 8 on my new computer it doesn't present me with the same pop

  • How to insert Logo in module pool programming

    Plz any one can explain me that  how we will inseart Logo on screens by using module pool programming (in GUI programming) .

  • Video bitrate? Quick question...

    Do you guys think a 10 min video with a bitrate of 400kbps is safe to play on most internet connections in today's age? Also it's 60 MB but I should only be concerned about the bitrate correct? Not the file size? Thanks

  • Syntax errors in WLST are not reported to calling program

    Hi, When there are syntax errors in WLST-script, the calling program will get no information about this. In our case the calling program is ANT. If the user enters invalid properties it could cause syntax errors in the WLST script. But the ANT task a

  • Why is the screen permanently zoomed in on my ipone 4

    my iphone 4 is playing up. the screen for some reason has zoomed in. i tried restoring it and nothing has changed. any clues