User Profile

Collapse

Profile Sidebar

Collapse
SDyke
SDyke
Last Activity: Jan 3 '08, 05:06 PM
Joined: Aug 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • SDyke
    started a topic JavaScript Error

    JavaScript Error

    The following code returns an error at the javascript line:

    Code:
     
    </TABLE>
    <P><B><FONT size="+1" color="red"></FONT></B></P>
    <P></P><FORM target="_blank" action="/DrawingInquiry/ViewDrawing" name="myForm1" method="get"><INPUT type="submit" value="View Drawing"></FORM>
    ...
    See more | Go to post

  • SDyke
    replied to Displaying items in a list on a JSP
    in Java
    I need help in how to do it.
    See more | Go to post

    Leave a comment:


  • SDyke
    started a topic Displaying items in a list on a JSP
    in Java

    Displaying items in a list on a JSP

    A servlet runs a connection class to get a set of drawing numbers from an AS400 file. I want to display the result set in a pick list on a JSP so the user can get the detail info from a selected item in the list.

    Thanks for the help.
    See more | Go to post

  • First thank you for time in helping me with this issue. I wish I was more learned in Java programming.

    I have tried everything and sill this code:

    protected void doPost(HttpServ letRequest arg0, HttpServletResp onse arg1) throws ServletExceptio n, IOException {
    String dwgString = DrawingInquiryS ervlet.getFileP ath;

    ServletOutputSt ream out = arg1.getOutputS tream();
    arg1.setContent Type( "applicatio n/pdf"...
    See more | Go to post

    Leave a comment:


  • Can you give me an example of the syntax?...
    See more | Go to post

    Leave a comment:


  • SDyke
    started a topic Variable Changes when Publishing to Web Server
    in Java

    Variable Changes when Publishing to Web Server

    In a class I have a string variable with a value of:

    filePath = "file://" + "gvas400/home/sde/pdffiles/817739P1.pdf";

    This works great when I run the web app on my local web host server.

    However, when I publish to our as400 Web server the following error appears when I try to view the file. I takes out one of the "/" just before the gvas400 server name.

    Error...
    See more | Go to post

  • SDyke
    replied to Java Servlet Argument is Null
    in Java
    No I did not have the input box on the form. This was my problem. I have it fixed and working somewhat now. Thanks for the help....
    See more | Go to post

    Leave a comment:


  • SDyke
    replied to Java Servlet Argument is Null
    in Java
    The first page of my web app is a JSP where the user can type in a drawing number and click a button to make a connection to an AS400 database to gather info based on number entered. This button opens up a second JSP displaying the drawing number and related data. There is a button on this page that fires a servlet that is used to view the PDF file of the drawing. I need to use the displayed drawing number in the path string that opens the PDF f...
    See more | Go to post

    Leave a comment:


  • SDyke
    replied to Java Servlet Argument is Null
    in Java
    Java Servlet Argument is Null

    In the following servlet code why would dwgString be null?

    protected void doPost(HttpServ letRequest arg0, HttpServletResp onse arg1) throws ServletExceptio n, IOException {
    String dwgString = arg0.getParamet er("dwgno1");
    See more | Go to post

    Leave a comment:


  • SDyke
    replied to Java Servlet Argument is Null
    in Java
    I did not have my bean(id dwgno) and getProperty that holds the drawing number
    located on the form with the submitt button.

    Now I have on the JSP I have a form with a submitt button and a bean and a getProperty that holds and displays a drawing number. The bean id is dwgno.

    I still get the null string value for my drawing number....
    See more | Go to post

    Leave a comment:


  • SDyke
    started a topic Java Servlet Argument is Null
    in Java

    Java Servlet Argument is Null

    In the following servlet code I need to assign the variable(drawin gnumber) in the filePath:

    protected void doPost(HttpServ letRequest arg0, HttpServletResp onse arg1) throws ServletExceptio n, IOException {
    String drawingnumber = arg0.getParamet er("dwgno");
    Drawing drawingString = Drawing.getDraw ing(drawingnumb er);

    String drawingrev = arg0.getParamet er("dwgrel");
    ServletOutputSt ream...
    See more | Go to post

  • SDyke
    replied to Explanation of Symbols
    in Java
    I am using IBM Rational Web Application Software. The symbols show up in the Project Explorer when I expand the classes....
    See more | Go to post

    Leave a comment:


  • SDyke
    started a topic Explanation of Symbols
    in Java

    Explanation of Symbols

    Where can I find an explanation of the symbols used in a tree view of a class?
    See more | Go to post

  • SDyke
    started a topic Changing a JLabel
    in Java

    Changing a JLabel

    I have a java class that creates a JFrame with a JLabel. After the frame is created I would like to feed a value to to the label, say a parameter in my call command for example. I cannot figure out how to reference the label.
    See more | Go to post

  • SDyke
    replied to Cannot Resolve Symbol
    in Java
    Yes. What I had to do was add(.) to my classpath so the compiler could find the class. But I ran into another problem which have also posted. Maybe you can help with this too!...
    See more | Go to post

    Leave a comment:


  • SDyke
    started a topic Help With Error
    in Java

    Help With Error

    com.ibm.as400.u i.framework.Par seException: Exception received while introspectin
    g method: setFeature
    0 errors detected

    What causes this error when I try and run my app?
    See more | Go to post

  • SDyke
    started a topic Cannot Resolve Symbol
    in Java

    Cannot Resolve Symbol

    import com.ibm.as400.u i.framework.jav a.*;
    import java.awt.Frame;

    public class SampleApplicati on
    {
    public static void main(String[] args)
    {
    // Instantiate the bean object that supplies data to the panel
    SampleBean bean = new SampleBean();

    This last line of code causes an error "cannot resolve symbol" when I try to compile using javac. I have...
    See more | Go to post
No activity results to display
Show More
Working...