I setup your web page in a web app and had the same
problem.  I finally noticed that your title tag isn't
closed off.  That was the problem.

Also, you only need to have the action specified for
the form (<html:form action="login.do">) if you have
it defined under the struts-config.xml.  It will look
up the corresponding name and bean/form object that
goes with the form

    <form-bean      name="loginForm"
                    type="LogonForm"/>

    <action    path="/login"
               type="LogonAction"
               name="loginForm"
              scope="request"
              input="/login.jsp">
        <forward name="success" path="/login.jsp"/>
    </action>

David

--- Anand Raman <[EMAIL PROTECTED]> wrote:
> yes david
> I have all the tag libs properly intialized.. I am
> attaching thejsp file
> also with this mail.. 
> I am using Tomcat standalone mode on a linux
> machine.. Tomcat 3.2 
> Anand
> On Wed, Jan 24, 2001 at 02:44:53PM -0800, David
> Winterfeldt wrote:
> >Are you are saying other JSPs compile and work
> fine? 
> >When you look at the source, what do you see? 
> Also,
> >what server are you running under?
> >
> >Do you have your tags defined at the top of the
> page?
> >
> ><%@ taglib uri="/WEB-INF/struts-bean.tld"
> >prefix="bean" %>
> >
> >
> >David
> >
> >--- Anand Raman <[EMAIL PROTECTED]> wrote:
> >> hi guys
> >> I am on my way to make my first struts
> application..
> >> 
> >> The ActionForm, Action , ActionServlet and my jsp
> >> are all in proper
> >> places.
> >> 
> >> However when i send a request for a jsp page i
> dont
> >> get to see any
> >> content on my browser. The server has serviced
> these
> >> requests and it is
> >> evident as i can see the html code in the view
> >> source menu of the
> >> browser.. Also no errors are thrown.. All other
> jsps
> >> are working just
> >> fine..
> >> 
> >> Any idea how to solve this problem..
> >> 
> >> Thanx
> >> Anand 
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! Auctions - Buy the things you want at great
> prices. 
> >http://auctions.yahoo.com/
> > <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts.tld" prefix="struts"
> %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld"
> prefix="bean" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld"
> prefix="html" %>
> <html:html>
> <head>
> <title> <bean:message key="login.title"/><title>
> </head>
> <body>
> <struts:errors/>
> <html:form name="loginForm" action="login.do"
> method="post">
>       <center>
>       <table border="1" align="center">
>       <tr>
>               <td><bean:message key="login.username"/></td>
>               <td><html:text property="userName"/></td>
>       </tr>
>       <tr>
>               <td><bean:message key="login.password"/></td>
>               <td><html:password property="passwd"/></td>
>       </tr>
> 
>
<tr><td><html:submit/></td><td><html:reset/></td></tr>
>       </table>
>       </center>
> </html:form>
> </body>
> </html:html>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

Reply via email to