Hi Ravish,
U ned to deploy the application as a web application in tomcat.
For that u need to set the context path in the server.xml file in config
dir. in tomcat.
Create a new folder (say  MyApp) with exactly the same structure as for
examples dir.
And, put the servlets & beans in the classes folder inside the
web-inf/classes dir in your MyApp dir.
Then put allyour jsp & html files in a jsp folder in your MyApp dir.
Then run your appl. MyAppp using virtual url  "/MyApp/../../".
This will solve your problem.

Cheers

Sunil Roy
----- Original Message -----
From: "Ravish" <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 4:49 PM
Subject: problem in session creating thru beans(Urgent)


I want to create session thru beans but when i use
-----------jsp:useBean and scope=session--------------
i am not able to use the session on the next page.(although it is created in
the current page)
I am using jakarta tomcat version 3.2 beta 2.
Can somebody help me?
I have tried the code of Shopping Cart (ch-5,jsp sessions) of professional
jsp and using without hashtables
and still not able to use it.

Ravish
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to