Diskussion

Hab noch garnicht angefangen zu lernen, oder die Doku zu schreiben :(
Und müsste auch noch ein paar andere Dinge erledigen, aber irgendwie...
 
Ich (versuch) mir grade JSP (schöne Grüßen an Ex1tus ;)) für meine Abschlussarbeit anzueignen, aber die ganzen Tutorials die ich finde sehen so aus:
Das sind Direktiven: <%@ .... %>
Das sind Kommentare: <%-- Hallo, ich bin ein JSP-Kommentar --%>
Das sind Deklarationen: <%! ... %>
Und das ist eine Expression: <%= ... %>
Bsp.:
...
/* ---- jsptut:currency ---- */
de.ix.jspTutorial.taglib.FormatCurrency _jspx_th_jsptut_currency_2 =
new de.ix.jspTutorial.taglib.FormatCurrency();
_jspx_th_jsptut_currency_2.setPageContext(pageContext);
_jspx_th_jsptut_currency_2.setParent(_jspx_th_jsptut_foreach_2);
_jspx_th_jsptut_currency_2.setValue(pizza.getBasePrice());
try {
int _jspx_eval_jsptut_currency_2 = _jspx_th_jsptut_currency_2.doStartTag();
if (_jspx_eval_jsptut_currency_2 == Tag.EVAL_BODY_INCLUDE)
throw new JspTagException(
"Since tag handler class de.ix.jspTutorial.taglib.FormatCurrency
implements BodyTag, it can't return Tag.EVAL_BODY_INCLUDE");
if (_jspx_eval_jsptut_currency_2 != Tag.SKIP_BODY) {
try {
if (_jspx_eval_jsptut_currency_2 != Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_jsptut_currency_2.setBodyContent((BodyContent) out);
}
_jspx_th_jsptut_currency_2.doInitBody();
do {
} while (_jspx_th_jsptut_currency_2.doAfterBody() == BodyTag.EVAL_BODY_TAG);
} finally {
if (_jspx_eval_jsptut_currency_2 != Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
}
}
if (_jspx_th_jsptut_currency_2.doEndTag() == Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_jsptut_currency_2.release();
}
...

Herzlichen Glückwunsch! Sie können jetzt ein Betriebssystem welches im Browser läuft programmieren
 
Öhm verstehe nicht was du damit sagen möchtest? Der gepostete Code ist doch nicht so unverständlich?

Naja mit JSP hab ich auch nur gaaaanz kurz was gemacht, aber im grunde ist es nicht schwer, das einzige was wirkliche Einarbeitungszeit erfordert sind wahrscheinlich die speziellen Dinge und die Design Pattern.
 
Kommt darin vor ;) aber ich kann ja keine Diagramme, usw erstellen, wenn ich nicht weiß wie das mit den JSP und den ganzen Beans (Gruß an Ex1tus :P) ausehen wird.
 
Hmm Diagramme :D
Ich hab meine Programmierung soweit fertig, muss nurnoch die Doku schreiben ;)
Ich hab ne Tabelle wo man Sachen per drag & drop rumschieben kann usw. Eigentlich ganz cool, aber die JTable ist nervig :p
 
Zurück