Javalobby/Jdocs.com debug code in clear text?
- JDocs javadocs parser read also dirty programmer comments as javadocs. A simple bug, and a funny one which is an unsual thing for a bug!
- The link in the homepge is wrong and points to a wrong feed(a developer discussion or something like that)
- RSS feeds are just a stub implementation and displays various debug data instead of RSS content... this one is quite scaring in security prospective
Anyway jdocs is a great thing for everyone...
Here the code(you can verify it here):
inal String msg = "blah, blah.";
final String confirmMsg = "Check this box to no longer see this information message.";
PreviewPlugin plugin = PreviewPlugin.getDefault();
IPreferenceStore prefStore = plugin.getPreferenceStore();
Shell shell = new Shell();
/*if toggleState is true, then the user previously checked the box to no longer see this message. */
boolean toggleState = prefStore.getString(FINISH_CONFIRM_KEY).equal(MessageDialogWithToggle.ALWAYS);
if (!toggleState) {
MessageDialogWithToggle.openInformation(shell, "Values Stored", msg,confirmMsg, toggleState, prefStore,
FINISH_CONFIRM_KEY);
plugin.savePluginPreferences();
} ]]> Mon, 10 Jan 2005 10:23:21 -0500 http://myserver.mydomain.com/myapp/servlet/page1, you can use this construct only thus:
RequestDispatcher rd = request.getDispatcher("/myownpage.jsp");
rd.forward(req, res);
This will invoke the page as if you typed:
http://myserver.mydomain.com/myapp/myownpage.jsp
on the browser !
0 Comments:
Post a Comment
<< Home