Lets say I have 5 servlets which all of them executes querys and updates to a database. The question is as follows. If in one of those servlets I create a connection pool, how can I share that connection with the other servlets, in order not to create one for each servlet.?
lets see the following example
http://www.mysite.com/index.jsp?var1=""&var2=""
how can i hide or encrypt the parameters passed in order that no one can see the parameters that i am passing from one page to another?
how can i pass a parameter from a jsp to an xsl
For example i want to pass the`parameter:
String elmt="news";
in order to extract with xsl the value-of the element "news", corresponding to the variable elmt.?
I`ve got a question. In a JSP file i need to run a process.
I can create a class(which has the process) and call the process from the JSP file, or I can create another JSP(which has the process) and include it in the other JSP file.
Which of these two methods gives me a best performance...
I have an xml file with different articles, and i am displaying the title of each o them in a jsp file. I would like that when the client clicks one of the titles could be sent to another page showing the full article.
I have done this passing a parameter to a jsp file wich extracts form the...
well, I have this little problem. I am parsing an xml file with jdom, the thing is I have an element which contains a large text. This text is made of different paragraphs (line breaks).
Here is the deal, when I parse the document in order to extract the element text, I loose the paragraph...
well, I have this little problem. I am parsing an xml file with jdom, the thing is I have an element which contains a large text. This text is made of different paragraphs.
Here is the deal, when I parse the document in order to extract the element text, I loose the paragraph structure, that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.