Supp. Mobile Devices: +5000 worldwide - Hosted Sites: +8.000 - Served mobile pages & content: +1 Bill./month English | Deutsch 
- Back
Threads [ Previous | Next ]
RE: Java and Netbiscuits
Java and Netbiscuits evandro13 7/2/08 6:39 PM
RE: Java and Netbiscuits webmaster 7/4/08 6:48 AM
RE: Java and Netbiscuits evandro13 7/4/08 2:58 PM
RE: Java and Netbiscuits webmaster 7/7/08 6:47 AM
RE: Java and Netbiscuits evandro13 7/7/08 5:58 PM
RE: Java and Netbiscuits webmaster 7/8/08 6:48 AM
Java and Netbiscuits | 7/2/08 6:39 PM
Hello,
I would like to know if there is a Java application with real java files (with actions or servlets), that uses netbiscuits.
RE: Java and Netbiscuits | 7/4/08 6:48 AM as a reply to evandro13.
Netbiscuits works with all kinds of backends that can deliver XML content - they therefore also work with Java and Servlets - provided the backend sets the proper content type for the files it delivers - text/xml or application/xml.

There is a document in the download section with basic information on how to set up a backend:
http://www.netbiscuits.com/c/document_library/get_file?folderId=17218&name=DLFE-1201.pdfCustom Applications - Getting Started Guide

Other than that, in the download section you can find a set of Snippets for the Eclipse Platform to help get you started. Further development tools for BiscuitML are coming soon.
RE: Java and Netbiscuits | 7/4/08 2:58 PM as a reply to webmaster.
I don't know, and I couldn't find a way to get the request attributes values at the jsp page.
RE: Java and Netbiscuits | 7/7/08 6:47 AM as a reply to evandro13.
It should all work exactly the same as any other Java/JSP application. BiscuitML is in this regard no different from any other content passed through HTTP Requests.

What exactly are you trying to do? Accessing the parameters rather than attributes might be what you want?
RE: Java and Netbiscuits | 7/7/08 5:58 PM as a reply to webmaster.
To send an action to my servlet.

I tried this way:
<biscuit type="form" action="./servlet/controle.GerenciadorWap" method="get">

I would like to know if this is the correct way, or no because I am receiving the error:
"There was an error 500 loading the content".

I also would like to know if there is a way to access some logs from the netbiscuits.

Thanks
RE: Java and Netbiscuits | 7/8/08 6:48 AM as a reply to evandro13.
If you are receiving this error, then the Netbiscuits platform encountered a server error while requesting your BiscuitML page from your backend.

The problem is most likely your backend - please check the server logs on your machine.

Also, try accessing your backend directly and not via the Netbiscuits platform, and make sure it delivers the correct markup.

It's recommended to enter the action without the leading "./" - have it start with "servlet/"

Lastly, you should make sure that your content type is set correctly (see my earlier post)


On an unrelated note - the notation for BiscuitML has changed - the one you are using is now deprecated.

The better way would be to use <FORM action="something" method="GET"> ... </FORM>

The online BiscuitML Reference will give you more information