variables_en.xml
Fábio Luciano Verdi <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody,I using strutscx for a short time and I´m having a problem. The final html which is sent to the browser shows the variables_en.xml content. I do not want that content be shown. I set my DOM object as follow:
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder db = dbf.newDocumentBuilder();
File f = new File("data1.xml");
Document d = db.parse(f);
request.setAttribute(StrutsCXConstants.XML_KEY, d);
}
And I set my .xsl as usual. But in the browser appears:
home info error debug Up New back day month year english german korean IT.CappuccinoNet.com Last updated StrutsCX StrutsCX Struts with Castor XML and XSLT. Click here for the Info application sample. Click to display content in an i-mode window. Click to display content in an PDF window. Click to print. Click to transform the XML on the clientside. Click here for multiple XSL transformations in a row. Data access with Enterprise JavaBeans Data access with JDBC Fake Data access Data access with Castor XML Click! Content of entries Content of a single entry Entry ID It's a new entry Hide this entry Put it to the archive The title The text Paragraph The publishing date The ranking The picture The file name The alignment A describing text The link The target of the link A describing text Show list of entries Create new entry View and edit Show a single entry Delete Edit Finish Delete an entry Are you sure? The entry is deleted! Gosh, no! Yes I will delete! Back to list Update a s
ingle entry Update delete Please enter a title! Please provide the subtitle! Please point to a picture! Create a new entry Create left right superb great medium bad CappuccinoNet - Ooops! The system sends an error message. Please go back and check if all fields are filled out correctly. Thanks! org.apache.struts.util.PropertyMessageResources@c06258ISO-8859-1ActionConfig[path=/insereBook,name=bookForm,scope=request,type=com.cappuccinonet.strutscx.prototype.presentation.action.BookAction1com.cappuccinonet.strutscx.prototype.presentation.actionform.BookForm@789869org.apache.struts.config.impl.ModuleConfigImpl@15e293a[#document: null]info.html4.testeDataAD960284D3CDF99AC8A400C811CB3D08trueen04.22.2003ENtruelocalhost2003C:\Teste-Gat\tomcat_4.1.18\webapps\testeStrutsCX\http://localhost:8080/strutscx8080
As you can see, that is the variables_en.xml content. Why is it doing that?
Thanks
Fabio.
---------------------------------
Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espaço, antivÃrus, acesso POP3, filtro contra spam.