jbig zala

Greenhorn
+ Follow
since Sep 20, 2004
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 jbig zala

When i connct to mysql using servlet it gives me mentioned error.
i pur org.gj.mm.mysq.Driver into c:\jwsdp\common\lib folder . it's not working .
Is there any problem with class path during runnin TOMCAT. Normal servlets are working properly.
Please help
19 years ago
Is it possible to run servlet into IIS web server or PWS provided by Microsoft ?
If yes how ?
19 years ago
i m using tomcat4 at win2k.

i m unable to run my any servlet at all . Servlet Placed at root folder or with another context. I have checked invoker servlet into web.xml and uncommented the servlet/* from servlet-mapping tag. But it's n't work at all. Yet html pages under each context is working properly. i.e. index.htm etc.

i have accessed page my http://localhost:8080/manger and entered username and password. then i have created new host and then deleted.
Is it happening due to my this work ???
Please sugges me what to do ???
now if m trying to access page http://localhost:8080/manger with providing actual username and password it gives me error that
" FAIL - Unknown command "
19 years ago
Thanx for vast information :
Special thanx to Sanjaya Sugiarto
19 years ago
m using tomcat4 on win2k os to learn servlet, jsp.
To test servlets i evertime write as
http://localhost:8080/servlet/servletname
i don't wont to write localhost.
instead i want to create my own host named 'myhost' into tomcat and place my servelts into it. so i can test my servlet using url like
http://myhost/servlet/servletname .
can is it possible ?
what neccessary steps i need to have ?
if it possible . where i have to place my servlets and web.xml files ??

Please help me
19 years ago
hi friends,
i have html page that register new user. user have to fill neccessary info like address, loginname, password, country , state, city , area etc.
For country, city, area fields those will stored as number into database of user.
when user change country from combo box appropriate combobox should be filled with states of that country. same for state, city , area.
i.e. when during sending request we have to store an id of country and fill state combobox of that country and return result with selected country.

please suggest me how to achieve this using servlet ???
19 years ago
Hai Friends,
m practicing servlets using tomcat4 on windows.
I have created context under webapps folder and modification in server.xml as under

<Context path="/myweb" docBase="webapps/myweb" />
and accessing my servlets using
http://localhost:8080/myweb/servlet/servletname.

I want to know that what are other way to create context in TOMCAT4 ???
19 years ago
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

faqs suggest that i have to uncomment above tags. It have tried, but gives me 404.
what's wrong ?
19 years ago
Hi Smart Cattles,

I m facing very strange prob with web.xml and servlet names.

I have created context name 'abc' and servlets in abc\WEB-INF\classes folder.
To Access servlet named helloworld i have to use url named
http://localhost:8080/abc/servlet/helloworld

I don't won't to show name of my servlet. so i changed
<servlet>
<servlet-name>Helloabc</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>
and accessed it using
http://localhost:8080/abc/servlet/helloabc
but it gives me 404 error.
it works only if i changed servlet-name as HelloWorld again .
Where i mistaken ?
is it possible to access HelloWorld servlet using URL like
http://localhost:8080/abc/hello.html
if yes, how ???
19 years ago
Dear Mahesh,
If u r using tomcat4 or above.
It will automatically detect your modified servlet. and Loads them again by server when any request for it.
Ya Old thread will remain there.
19 years ago
HI friends,
i have created servlet that uses Connection object for mysql database.
any reqeust for the servlet will create connection object individually.
i.e. 5 request will create 5 instance of servlet with connection object.
Is it possible to create database connection once that can be used by all request for same servlet ???
19 years ago