thanks for the response Murray.... I have this working in tomcat and Borland. For writing this mail, I copy pasted only the required stuff (also changed names!!) - hence left out the myPage action mapping. I am not new to struts and have been working on it for quite a while.... My subject line clearly says its peculiar coz, it works on tomcat, it works on Borland. When I migrated my application to WAS, I am ending up with this error.... Never have seen something like this before. I lost my patience debugging what I have left out and have started trial and errors by having some attributes in the <html:form> and some not. Wanting not to waste anymore time, am checking with you guys if you have had anything like this before. Thanks Jacob
Murray Collingwood <[EMAIL PROTECTED]> wrote: The clue is....you haven't read the manual. You are creating a target in your JSP called "myPage". Your struts-config doesn't define this target anywhere. It needs to be in your action-mappings. Also, because the target includes a form you need to specify the "NAME" attribute to identify a form-bean entry which ties it all back to your pojo. I'll bet your totally lost now and just wishing somebody would tell you what to write.... (been there, done that). There are lots of example Struts apps around that work. Download one of these and use it for reference. I started with a forum example from John Topley, it seemed to be well written and even looking back now I think it was pretty good. You will find it at: http://www.sitepoint.com/article/struts-first-steps Cheers mc On 2 Nov 2005 at 12:12, Jacob Wilson wrote: > Hi Dave - > > Even without the name attribute it is the same !!! > > > > Here is my struts-config > > > > > > > > > > > path="/myRoles.do" scope="request" type="com.ui.actions.MyPage"/> > > > > > > > > INF/validation.xml" property="pathnames" /> > > > > > Any clues??? > > Thanks > Jacob > > Dave Newton wrote: > Jacob Wilson wrote: > > >I have a problem with my jsps after migrating my application from tomcat to Websphere. I use the struts-html taglibs in my jsps. When I use the normal html form tag like below, everything looks fine and the page gets displayed without problems. > > > > > > > >When I use the struts-html taglib like below, the jsp that shows up on the > >browser is totally empty.... > > > > > > > >I had made sure that the action is present in struts-config.xml. Also, when > >I say action="myPage" in the form tag does not work. > > > > > I am suspicious of the "name" attribute. Or at least I am now that I > figured out what the difference between the two JSP chunks actually was. > > I've never used "name" in html:form (I didn't even know you could); > "name" is created by html:form using the "action" attribute and the > "name" attribute in the action's configuration. > > But you didn't include any struts config info, so who knows. > > Dave > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. FOCUS Computing - web design Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.7/154 - Release Date: 1/11/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click.