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...
well, i thin i understood what you wanto to do.
I know one way to do this. First you have to see what protected folders your webserver has, then use session trackin to trace the user along the website, and also use the authorization header.
if no authorization header is recieved automatically...
the problem is that there is no file, the problem is that is an xml file, so in an element i have a huge text split by line breaks. So i parse the xml document and extract the text and place it on a string. now i have to detect the line breaks, after i read the file, not during.
thanksl.
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...
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.