Hi,

 

Here is my program code for Lab 4205_strutsbasics homework.

 

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>indexnopassionname</title>
    </head>
    <body bgcolor="white">
      <h3>Example No Passion Name</h3>
      <img src="duke.waving.gif">
        <h2>Hello, my name is Duke. What's yours?</h2>
      <html:errors/>

      <html:form action="Hello.do">
      <html:text property="username"/><br>
      <html:submit/>
</html:form>

 

<logic:present name="username" scope="request">
Hello,
<bean:write name="username" scope="request"/>
</logic:present>

    </body>
</html>


 

The screen output below does not display the entered name after the Submit 
button. The codes supposed to display this piece of information is highlighted 
above.  And the placement of the cursor is not starting at the beginning of the 
text box when I first entered the name and have to move the cursor manually to 
the beginning of the text box. Can anyone point out what is wrong with the 
code? 

 

Thanks for your help!

 

Example No Passion Name
 

Hello, my name is Duke. What's yours?



 

 

missing display here

 

Regards,

Peeter

 


                                          
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to