Tariq Dweik

Greenhorn
+ Follow
since Aug 19, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tariq Dweik

Hi all,

I'm facing the same issue here, I've noticed that all of us r using tomcat 5.0.28, could it be ?

Thanks
15 years ago
Hi
lets assume i have a ready application and i want to deploy it in two different machines in which each one has jdk, tomcat,etc. now what are the steps and configurations i have to make ?
18 years ago
Hi all
can anyone give an example on how to setup a distributable webapp in tomcat
Thanks in advance
18 years ago
Hi all
can anyone give an example on how to setup a distributable webapp in tomcat
Thanks in advance
18 years ago
Hi all
can anyone give an example on how to setup a distributable webapp using tomcat ??
Thanks in advance
18 years ago
Hi all
can anyone give an example on how to setup a distributable webapp in tomcat
Thanks in advance
i have ambiguty in the traslate function of XPath (http://www.w3.org/TR/xpath#function-translate), i qoute:

If a character occurs more than once in the second argument string, then the first occurrence determines the replacement character.


Could any one please give me an example
Thanks in advance
Hi there,
i have ambiguty in the traslate function of XPath (http://www.w3.org/TR/xpath#function-translate), i qoute:

If a character occurs more than once in the second argument string, then the first occurrence determines the replacement character.


Could any one please give me an example
Thanks in advance
my advice for u is to upgrade your version of tomcat to ver. 4, since it is the reference implementation for 2.3 specifications which introduced the concept of Filters, in other words , u develop your pages normaly and request will be filtered to check if the user is loged on or not
Tariq Dweik
SCJP SCWCDJ2EE
18 years ago
Hi there
this problem is presented due to caching. your browser cache the requested page and keep it localy and when u ask for a given URL it compares between the one in the cache in the one in the server by what is called "conditional get". to solve the problem there is a couple of methods.
1. hit your refresh button in your browser twice (simple like that )
2. in server.xml file when u r declaring the context make sure that it is reloadable.
3. in the response add a header with the following properties
name : HTTP_PRAGA
value : no-cache
Tariq Dweik
SCJP SCWCDJ2EE
18 years ago
JSP
hi there
1. inside the web.xml file for your web application add the following lines
<session-config>
<session-timeout>TimeInMinutes</session-timeout>
</session-config>
or inside the validating jsp put the following:
<% session.setMaxInactiveInterval(x); %> where is int and represents the value in seconds.
2. This is dependent on your authentication method, in other words how r u implementing it, is it done by tomcat realms or r u defining a tailor-made one (getting the username and password, check from the db,...,etc)
3. read (1) above
thats all
Tariq Dweik
SCJP SCWCDJ2EE
18 years ago
Hello ranchers
How can i add a new parameters to a request when i'm in a filter before invoking FilterChain.doFilter(req,res) ?
18 years ago
Alf Mabrook Faisal
about the IBM OOAD, what was your studying material ?
Tariq Dweik
SCJP SCWCDJ2EE
Hi Ranchers
Sorry for being late in writing back, but i was out of time
and the web.
thanks all for your nice words.
i'll try to answer all of your Q's at once
* how long did i prepare?
- for about 3 weeks
* what books plus other resources did i use for your preparation?
- 1. Java Servlet Specification Ver. 2.3 (PFD2)
2. JavaServer Pages Specification Ver. 1.2 (PFD2)
3. javasoft.com Tutorials
4. jakarta.apache.org Tutorials
5. BEA WebLogic Documentations
6. Ken Zrobok Notes (Many thanks to him)
7. Professional JSP (Wrox)
* professional experience in JSP/servlets
- about 1 year
about sharing my experiance, that is my ultimate goal, without the info from
the other ranchers i don't know where i'm now
i'm thinking in collecting all my notes and put in a centeral location, i'm currently
building a small web site for that purpose, mainly it will cantain pdf files
(best for printing out )
once again guys, thanks all and sorry for my late answers

Tariq Dweik
SCJP SCWCDJ2EE