I have been reloading my app. Not sure why, but Tomcat was hosed. As I said
before, I was expecting Struts to throw some kind of error/exception - which
was not showing up in any of the log files. I found that strange. When I
restarted Tomcat, now the ClassNotFoundException is there in Catalina.out.


Thanks
 
-- pady
[EMAIL PROTECTED]
 

-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 11:49 AM
To: Struts Users Mailing List
Subject: RE: basic struts question...

Pady,

You didn't restart Tomcat or reload your application before this?  How did
you expect your changes to be incorporated? Automagically? The next time you
change your application, rebuild classes, add libs, etc, (pretty much
anything except for editing a jsp' contents) you should look into the tomcat
manager so you can stop and then start (reload doesn't seem to work for me)
your application.  That should show these errors in the catalina.org or
appropriate localhost_log file.  The url is usually
http://localhost:8080/manager/html/list with passwords set in the
conf/tomcat-users.xml file (set one for role "manager" (if I recall
correctly).

Regards,
David

-----Original Message-----
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 11:21 AM
To: Struts Users Mailing List
Subject: RE: basic struts question...



As I said, I was NOT getting an error mentioning "missing action class" till
now ( had to restart Tomcat ). Now I do get that error. So no more basic
struts questions from me...

Thanks for your patience...



Thanks

-- pady
[EMAIL PROTECTED]


-----Original Message-----
From: Bradley Handy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 11:00 AM
To: Struts Users Mailing List
Subject: RE: basic struts question...

First off, you don't configure the ".do" extension in the "path"
attribute.  You put it in the "href" attribute of your link in your web
page, or the "action" attribute of your form tag.

Secondly, you've got to be kidding me about not creating an Action class
and then asking the list why your stuff isn't working when the
documentation answers your question.  Come on.



> -----Original Message-----
> From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 4:59 PM
> To: Struts Users Mailing List
> Subject: RE: basic struts question...
>
>
> I tried all the changes recommended here, but it doesn't work. I hope
you
> meant changing <action path="/jsp/submit"...> to <action
> path="/jsp/submit.do"...>
>
> That didn't work.
>
>
> Thanks
>
> -- pady
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 4:32 PM
> To: Struts Users Mailing List
> Subject: RE: basic struts question...
>
> Specifically, the URL in your action path in struts-config.xml.
>
> -----Original Message-----
> From: Bradley Handy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 4:28 PM
> To: Struts Users Mailing List
> Subject: RE: basic struts question...
>
>
> You need to append the ".do" extension to your request URL.
>
> > -----Original Message-----
> > From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 02, 2003 3:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: basic struts question...
> >
> >
> >
> > If I have an action-mapping defined as
> >
> >
> >
> >   <action-mappings>
> >
> >     <action    path="/taglib/jsp/submit"
> >
> >
> type="com.heroix.firenze.webui.actions.TabChangeAction">
> >
> >        <forward name="success" path="/jsp/tiles_insert.jsp"/>
> >
> >     </action>
> >
> >   </action-mappings>
> >
> >
> >
> > When I access http://myserver/taglib/jsp/submit.do I get an error
> Invalid
> > path "/jsp/submit" was requested. My web.xml does have *.do mapped
to
> > ActionServlet.
> >
> >
> >
> >
> >
> > What am I doing wrong ?
> >
> >
> >
> >
> >
> > Thanks
> >
> >
> >
> > -- pady
> >
> > [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to