473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

please go through this u can help me

12
hello everyone i am able to run a simple servlet using this structure.
C----->tomcat5--->webapps----rootdirectory....WEB-INF.

in WEB-INF i am placing classes ,lib and web.xml

in classes i am placing all dot class files.

in lib servlet-api.jar

in web.xml i am using in url-pattern tag as /ws

and in browser i am using the url:
http://localhost:8080/rootdirectory/ws.

with this my app is working fine.

but when i am using this type of structure i am unable to run.
C--->tomcat5--->webapps----->rootdirectory---WEB-INF

in WEB-INF i am using classes,lib,web.xml

in classes--->com---->fruitmarket----jdbc----dotClassFiles

in lib ---->servlet-api.jar

in web.xml ....in url-pattern tag i am using /ws.
please tell me how can i run my servlets and please tell me the url to be used in the browser.

THANK YOU
RAHANA
Oct 22 '07 #1
1 1333
r035198x
13,262 8TB
hello everyone i am able to run a simple servlet using this structure.
C----->tomcat5--->webapps----rootdirectory....WEB-INF.

in WEB-INF i am placing classes ,lib and web.xml

in classes i am placing all dot class files.

in lib servlet-api.jar

in web.xml i am using in url-pattern tag as /ws

and in browser i am using the url:
http://localhost:8080/rootdirectory/ws.

with this my app is working fine.

but when i am using this type of structure i am unable to run.
C--->tomcat5--->webapps----->rootdirectory---WEB-INF

in WEB-INF i am using classes,lib,web.xml

in classes--->com---->fruitmarket----jdbc----dotClassFiles

in lib ---->servlet-api.jar

in web.xml ....in url-pattern tag i am using /ws.
please tell me how can i run my servlets and please tell me the url to be used in the browser.

THANK YOU
RAHANA
You've already seen the correct way of specifying the path. What's the problem now?

P.S Do not double post. It's against the site rules.
Oct 22 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: KK | last post by:
Hi Peoples, Can anyone give me any learning materials for learning C++. i.e. can you give me any docs or give me the link to any website that has info on programming in general or C++. (ok...
2
by: m3ckon | last post by:
Hi there, had to rush some sql and am now going back to it due to a slow db performance. I have a db for sales leads and have created 3 views based on the data I need to produce. However one...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
23
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application...
2
by: tuan_vandyk | last post by:
Hi I desperately need help with my project. Theoretically everything should work bu it just isn't. Please email me for a copy of the project's source code. It was made in Turbo C++ 5. Please if...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
9
by: FERHAT AÇICI | last post by:
hi all! who know arrays on visual basic please tell me.... thanks..
6
by: jenipriya | last post by:
Hi all... its very urgent.. please........i m a beginner in oracle.... Anyone please help me wit dese codes i hv tried... and correct the errors... The table structures i hav Employee (EmpID,...
5
by: tabani | last post by:
I wrote the program and its not giving me correct answer can any one help me with that please and specify my mistake please it will be highly appreciable... The error arrives from option 'a' it asks...
2
by: clouddragon | last post by:
Hi, i am in desperate need for any help regarding one of my assignments. I am to write a python program that lists the numbers that are composite from 1 to n(input) and write it to an external...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.