indira mandapati

Greenhorn
+ Follow
since Feb 15, 2002
Merit badge: grant badges
For More
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 indira mandapati

my application is under webapp/developer .
i have configured that in server.xml.
i have placed my html in webapp/developer/servlets/abc.html
the html is working fine.
in side html form action=localhost:8080/developer/samples/Properties
which is my .class of my servelt
i have place the servlet Properties.java and its class file in webapps/developer/web-inf/classes/samples/Properties.java & .class
I did not add this calls in web.xml.
di i need to if so
please tell me the code i need to add also
thnaks
indira
1)<Context path="/webapp1" docBase="webapp1" debug="0"
reloadable="true" crossContext="true">
place the above tag in web.xml inbetween as shown below
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!--

-->
<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager"
debug="0" privileged="true"/>

<!-- Tomcat Examples Context -->
<Context path="/webapp1" docBase="webapp1" debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>------------------------
2)if it is done properly you have to call your jsp
stop and restart server again then call
http:/localhost:8080/webapp1/file.jsp
3)if you are doing on windows98 some times it will not work .I don't know why.
but on winNT it will work perfectly
i did stop my http server and set it to manual to set free port 8080.and now tomcat is working.
thankyou!
localhost:8080 is used by websphere test environment.
Http://127.0.0.1:8080 i tried but not helping me
i am getting the java.net.BindingException in tomcat dosprompt window:address in use :jvm bind
how to find out the ports that are not in use winNT?
thanks,
Indira
i installed tomcat on winNT.
but the tomcat welcome page is not comming.
I tried to change portnum from 8080 to 80
and also 1127 in server.xml.I am not getting the welcome page.
in the tomcat dosprompt window i see
java.net.BindException (Address in use)
please suggest me the proper port number if this is the problem.
using servlet api ,http session one can identify
the client by creating a session req.getSession(true) and a unique sessionID is automatically generated fir him.by checking sessionId
we can track the user .
using cookies : by placing cookie in response and which is returned by client request ,one can trck
down the the each client .
if cookies are turned off by rewriting url (appending sessionid to url of each request made by client) one can track down the each client.
Am I correct.
22 years ago
Servlet container uses ServletConfig object to pass the information during its initialization.ServeltConfig object will have servletContextObject.
You can get initialization params and ServeletContext object from ServeletConfig object.
ServeltContext Object is used by servelets to communicate with servelt container.look in api
to see the methods.
A webapplication( having servelts,beans,jsp)will have one servletContext instance.info can be placed in servletContext instance inorder to be shared by entire webapplication.
22 years ago
do i have to learn ejb for scjwcd exam?
do i have to learn how to deploy j2ee architechture?
thanks,
Indira
i am using objectoutputstream oops object to write string to a file :
FileOutputStream fis = new FileOutputStream("abc.tmp");
objectoutputstream oops =new objectoutputstream(fis);
oops.writeObject("hello");
oops.writeObject("how are you");
i see the the contents od abc.tmp as hello how are you.
i want the output to be
hello
how are you
what should i do for this.
22 years ago
what is the driver name/url for oracle?
class.forName(?);
what is the url ?
DriverManager.getConnection(url,uid,passwd);
thanks,
Indira
hai,
congratulation to those who have passed the exam.I know the fundamentals of jsp and servlets.
i did programming also but not in deep.i did not know tags,not much in dtd and little in jsp.
do i need work experience to give the exam ?
i am not enough confident that i will pass the exam with the knowledge from the books.
can any one assure me that can i pass the exam by studying and not having real work experience?
thanks,
Indira
what are jdbc adapters? please provide all the info you know