bj?rn
Members-
Content Count
14 -
Joined
-
Last visited
About bj?rn
-
Rank
Newbie [Level 1]
Contact Methods
-
Website URL
http://
-
well there are many many many sites.... the best thing to do is to google if you have a specific question (but i suppose you knew that already *g*). suns official site is really good, but might also check out other sites: http://www.jsptut.com/ /home/wp_zfnm5k/codango.com/wp-content/themes/dotkwik/dotkwik/styles/_ie/kill_ie6/ie6.html I can especially recommend the sun specs of jsps and servlets. most tutorials unfortunately won't be able to cover all your questions...
-
Well that's a good question. I never learned any C# so far but I have seen several code snippets. And what I saw reminded me VERY much of java. But nevertheless I cannot really tell if is better or not. They have a similar concept with virtual machines but you can also tell the compiler to produce fast machine code, which is a little more flexible as the java concept. btw: currently i am learning c/c++ and compared to java it is such a complicated mess i have the feeling that the c/c++ world is far too "scattered". everybody has its own conventions, doc tools and so on. java is fortunately a lot more unified compared to c/c++ how do you mean that exactly? SUN has unified the java language but microsoft did not stick to SUN's specs...
-
well i dated a girl i had met on the net some time ago... it was a complete desaster...first of all... she took her best friend with her (that's one of the things i don't like at all.. when you take your best friend with you to "protect" you - from whatever!)then they were about 20 mins too late so i kept waiting for them... and waiting... and waiting.... :)when i first saw them i was sort of ... shocked... i was expecting an 18 year old girl... what i actually met then were two 16 year old (i am 21) .. who not only looked like typical-clichee 16 but also behaved like that :Pi like ironic humour and tend to use it quite often... they didn't really know that something like "ironic humour" exists and kept correcting me because they were thinking i was saying obiously wrong things which got almost absurd at some point so i stopped it <_<i could have definitely done something more productive on this afternoon
-
as far as submitting webpages to search engines is concerned i would like to give you a little link to an interesting articleon codeproject.com Article on codeproject It basically tells you NOT to submit your webpage to search engines and gives you some alternatives that shall be more efficient... just thought that might interest you...
-
well for desktop use i would recommend gentoo (stable packages) if you have already a little knowledge of linux or fedora if you are more of a beginner and simply want a nice-looking,stable system up and running.you get very good support for gentoo under https://www.gentoo.org/ (i haven't had a problem that they couldn't solve so far or that wasn't already solved)for servers i would recommend debian sarge. here you have quite stable system with a whole variety of software...
-
on linux i use quanta plus for all my html, jsp and xml. on windows i mostly use dreamweaver mx and sometimes crimson editor. i also heard that https://www.emeditor.com/ should be pretty good (as a programmer's editor in general) although it costs something for most people. students can even get an academic license for free, which is what i did. i even think they wouldn't recognize if a non-student would apply for a license... so just try they cannot do more than to deny you a license"
-
i also would recommend 7zip as a format. not only that it is open and free but it is also VERY VERY efficient....and i like the archiving tool because it simply focuses on what you need and leaves out anything else that is not necessary... it might not look very tuned up but it has a lot of power (and can also read almost all the other formats on the market....)
-
i have been using mozilla mail for a long time by now... i have always been tempted by thunderbird but when i tried for the first time (long ago) imap support was not very good and it was still a bit unstable...i might try again nowas it has really developed...
-
well that is because microsoft does not deliver a java2 environment with its IE. they used to deliver their own java in times of java 1.x.if i remeber correctly they did not stick to sun's specs of the libs and the language itself and sun took microsoft to court for that.. since then the microsoft java has not undergone any real further development i think... however... it would be better if microsoft would ship an up-to-date sun jre with their windows, but for obvious reasons they don't do: C# is a concurrence for java and as C# is a microsoft product they do everything to get rid of java...
-
well .. i personally do like java A LOT as well... but i fear that as a technology for providing web pages it is not used really as often as PHP for example (reason? complexity?? don't know...). I really had a hard time finding a JSP/servlet webspace provider that does not charge you anything.but almost every webspace provider nowadays has PHP, python, C and all that stuff. but hardly anyone has java ....I do not like php and all that scripting philosophy of just quickly "hacking" something together that works... i have some python scripting experience and in my opinion it is good for (very) small things but if it gets just a little more complex you end up editing your scripts with VI on a server because there was some little syntactical error (which would have been caught by the compiler on your machinge if you were using a compiled language)do you know any other jsp/servlet webspace providers (that do not charge you anything...)?
-
deploying on tomcat is actually quite easy. you have to make a so-called web-application (see below) and then zip all the files belonging to the webapp. then rename this to war. Call this file, say... mywebapp.war. Drop this file in your /path-to-tomcat/tomcat/webapps directory. start the tomcat and if you use a local tomcat installation you can now reach the webapp under LOCALHOST:8080/mywebapp/url-pattern (for explanation of url-pattern see my explanation of web-application. What is a web-application? Well.. basically it is a bunch of files, which can be JSP, html, java classes, jar files.. etc a webapp basically has the following directory structure: ./WEB-INF/ ./WEB-INF/classes/ (here you put the java classes of your servlet for ex. ) ./WEB-INF/lib/ (here you put any non-standard libraries you use in your java classes) ./WEB-INF/web.xml (the so called web-application deployment descriptor... see below) ./some_jsp_page.jsp (here you can put jsp pages...) ./some_web_page.html (... as well as any static content) What is contained in the web.xml? It's an xml file where you describe your web-application. It could look like this: [br]<?xml version="1.0" encoding="ISO-8859-1"?>[br][/br]<web-app xmlns="http://java.sun.com/xml/ns/j2ee"[/br] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee [/br] http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"[br] version="2.4">[/br] [br] <description>[/br] An examplatory web.xml file[br] </description>[/br] [br][/br] <servlet>[br] <servlet-name>helloWorld</servlet-name>[/br] <servlet-class>my.java.package.HelloWorldServlet</servlet-class>[br] </servlet>[br][/br] <servlet-mapping>[/br] <servlet-name>helloWorld</servlet-name>[br] <url-pattern>/sayHello</url-pattern>[/br] </servlet-mapping>[br]</web-app>[/br] If you write a servlet class my.java.package.HelloWorldServlet now, place it under WEB-INF/classes/my/java/package/HelloWorldServlet.class, make a war file called hello.war of it and then deploy it on your tomcat you have successfully written and deployed your first webapp... you can reach it under LOCALHOST:8080/hello/sayHello (if you have a local tomcat running) For further reading: There are many many tutorials on the web, but i would also recommend reading the servlet and the jsp specification from sun... Link to Servlet Spec Link to JSP specification have fun...