Server-Side Development Section Index | Page 5
JRun is a J2EE compatible container. For this reason it supports (besides JSPs and Servlet) EJB as well. JRun is actually a plugin on a web server in order to redirect JSP and servlet calls from t...more
Check out Jive. From the site: Jive is forum software that allows threaded discussions on websites. It features excellent performance, user-defined "skins" to completely change the look, feel, a...more
[ The cleanest solution is to build the HTML yourself, and make the "value" attribute something you know, like the database id, or even the content itself. From getParameter() returns a value of...more
According to the Servlet 2.2 specifications: 9.4: Directory Structure A web application exists as a structured hierarchy of directories. The root of this hierarchy serves as a document root for s...more
[I know that for Netscape, the user agent in the request header has a "U;" that indicate that the browser is using 128 bit encryption. What about IE?] Unfortunately there is no standar...more
CORBA and EJB's seem to basically do the same thing to me. To me it seems that the purpose of both of these architectures is to fill the middle tier area. Is this true? If so or if not, can you explain why and what the specific funtion of each of these architectures has?
CORBA and EJB's seem to basically do the same thing... CORBA and EJB's seem to basically do the same thing to me. To me it seems that the purpose of both of these architectures is to fill the midd...more
The sender of a message has no control over what folder the message gets saved in. All new messages appear in Inbox. The recipient's mail server either has to move them, or when the recipient fetc...more
[JSP is first translated into servlet than compiled. So where are those servlet .java or .class files for JSP examples in Tomcat?] They are located in the work directory of the TOMCAT_HOME, unde...more
As I wrote in my first message the apache web server does not perform the authentication in this case but the servlet does. So the web-server could not send his error- page because the browser d...more
[I use setAttributes() in the HttpServletRequest object to pass UTF-8 strings to a servlet. On the receiving servlet, I receive only '?' for each unicode character. What should I do?] There is no...more
Getting a newly created id. Is there any way I can determine the auto-generated number with MySQL after performing an insert without sending another query?
Getting a newly created id Is there any way I can determine the auto-generated number with MySQL after performing an insert without sending another query?
Using the Java Connector Architecture with EJBs. Can I map an entity bean to an EIS for which a JCA resource manager exists? Ideally, I would like to use container managed persistence for this.
Using the Java Connector Architecture with EJBs Can I map an entity bean to an EIS for which a JCA resource manager exists? Ideally, I would like to use container managed persistence for this.
Is it possible to process JSP code written by a custom tag? I have a custom tag that performs a xsl transformation. This tag writes the output to the jsp page that's including the tag. My problem...more
How do I restrict an user from exceeding data of a particular length in a TEXTAREA like we do with a text box using the maxlength attribute?
The text area doesn't have an attribute like maxlength, so there are two ways to check this: a client side and a server side. The first one (client side check) has to be written with a language li...more
How do I convert a comma delimeted string of email addresses to an array of recipients for a message?
Use the InternetAddress.parse() method: String strName = /* request.getParameter("TO"); */ InternetAddress address = InternetAddress.parse(strName); message.setRecipients(Message.Recipien...more