First thing first, if your new to J2ME I sugest you google for some HelloWorldMIDlet. How about this one? Second try to catch up (Im still trying) with the concept of J2ME. Why the limted API. Whats the different between CLDC & MIDP etc etc. This info are surely available at Sun.
Hello, Im having no luck at sun MIDP forum sp I'll have to try my luck here at the ranch.
I have this wordwrap from trientlabs.com... I works good accept I want to the wordwraper to break line if there is char '|' found. I allready tried to replace
With
And that didnt do it...
Here is the source and usage... Im very greatfull if some one could help me with this one..
I want to make a file on the webserver then make it downable. To make the txt file I have to define the whole path like C:\tomcat\webapps\mywebapp\file.txt. Thats works fine ONLY if tomcat is installed on that location. If I move mywebapp tp an other tomcat server (colud be located F:\tomcat) it wont work
in my sxl doc I have this [...] <xsl aram name="action"/> [...] <xsl:when test="$action=list"> <xsl:call-template name="list"/> </xsl:when> <xsl therwise> <xsl:call-template name="welcome"/> </xsl therwise> </xsl:choose>
If i use request.getParameter("action") fro my jsp file, the result is "list". But the xsl:when test wont be true...
out = new BufferedWriter(new PrintWriter(new FileWriter(usersXMLpath))) is where is save alla the data. I added some setOutputProperty and the resulted in that alla the nodes where indented but the first!
Thx Lasse. I thougth I would edit the post instead post a new, but as I mention I done with the Element interface. But still, the indent problem. grrr.
I mange to solve the Attr, thanks for the tip. I was looking around in the org.w3c.dom.Node instead of org.w3c.dom.Element.
But I still have the INDENT problem, all the new element are positioned as the root element. Any clue? [ September 03, 2004: Message edited by: Sebastian Green ]