Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes strange tomcat/struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "strange tomcat/struts" Watch "strange tomcat/struts" New topic
Author

strange tomcat/struts

Poorav Chaudhari
Ranch Hand

Joined: Sep 17, 2002
Posts: 50
I have no idea where the problem is, so i am hoping someone experienced this
before and was able to find a solution.
here is what is happening...
For my web application I am using the struts (ver 1.0.2) framework,
JSP-templates, on tomcat (ver. 4.0.3). On one particular page, the entire page
is not gettting displayed. I am using html tag library for the form fields.
When i pull up the page only half the form comes up. and what is stranger is
right where the form stops, only half a input "text" tag comes up. to explain
what i mean. In the code where the form seems to stop the code is as follows.
<html:select styleClass="dropdown" name="resourceForm"
property="sTargetLang_8" >
<html ptions
collection="languageTag"
property="value"
labelProperty="label" />
</html:select>
Technical: $
<html:text name="resourceForm" property="sTranslTechRate_8" styleClass="txtbox"
size="3"/>/word,
now in the browser what I see is [the drop down] Technical $:<input type="text"
name="sTranslTechRate_8" size="
and that's it. the page ends there. when i do a view source that is exaclty
where the source ends. As far as i can see i don't see any coding syntactical
errors, especially since i have a series of exactly same tags (except a
different number) preceeding it and they are all displayed fine.
Has ANYBODY experienced this before. I have been racking my brains on this
since yesterday. I deleted the part where i the form cuts off, but the form
stops again after the same number of characters are displayed. (meaning, if i
delete the last tag which is displayed only half way, then form that is now
displayed adds the same amount of code to the end of the form as much as i have
deleted) i hope that makes some sense.
thank you


Poorav Chaudhari
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: strange tomcat/struts
 
Similar Threads
Override the gray text generated from disabled="true"
java.lang.Illegal Argument Exception: argument type mismatch
html:options tag and String array
selecting a value in drop down box
strange tomcat/JSP problem