Mano, Sorry for the delay. Beans and Struts is something that I haven't touched yet. There was a thread I was involved in on servlets that could only be accessed when going thru Apache. It turned out to be a configuration issue on the mappings in the web.xml . There is a section on configuration on Struts at:
http://jakarta.apache.org/struts/userGuide/building_controller.html#config And there are some mapping that have to be done for the initial setup. I did run across this at: http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/package-summary.html#package_description You must use <jsp:useBean> to introduce a reference to an existing bean, if you wish to reference that bean with other standard JSP tags (such as <jsp:getProperty> or <jsp:setProperty>). At this point all I can do is refer you back to the list. Anyone else?? Doug ----- Original Message ----- From: "xavier manohar" <[EMAIL PROTECTED]> To: "Parsons Technical Services" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 3:10 PM Subject: Re: re :jsp error > This is the code > jsp is stored in root directory > <jsp:setProperty name="mybean" property="uname" /> > > <jsp:getProperty name="mybean" property="uname" /> > > class file is stored classes in web inf of the root directory > name.class > public class Name > { > private String uname; > public Name() > { > uname=null; > } > public void setUname(String uname) > { > this.uname=uname; > } > public String getUname() > { > return uname; > } > } > mano > Parsons Technical Services <[EMAIL PROTECTED]> wrote: > This gives clarification that you are accessing the servers as expected. > > Post the syntax of the line in the jsp that calls the class. > Post where this class is stored. > > > ----- Original Message ----- > From: "xavier manohar" > > To: "Parsons Technical Services" > > Sent: Wednesday, February 18, 2004 2:49 PM > Subject: Re: re :jsp error > > > > Hello Doug , > > I am using the default port for tomcat > http://localhost:8080/.default directory is root.for apache I am using port > 80 the default port number > > can this add any thing to the question > > mano > > > > > > Parsons Technical Services > wrote: > > Apache > > http://localhost/myapp/mypage.jsp > > http://xxx.xxx.xxx.xxx/myapp/mypage.jsp > > If application is in root: > > http://localhost/mypage.jsp > > http://xxx.xxx.xxx.xxx/mypage.jsp > > > > > > Tomcat > > http://localhost:8080/myapp/mypage.jsp > > http://xxx.xxx.xxx.xxx:PPPP/myapp/mypage.jsp > > If application is in root: > > http://localhost:8080/mypage.jsp > > http://xxx.xxx.xxx.xxx:PPPP/mypage.jsp > > > > xxx.xxx.xxx.xxx is IP of machine that is running Tomcat or Apache > > PPPP is port that Tomcat is listening on. 8080 is default. > > myapp is the name of your application. Not needed if app is running in > root > > context. > > mypage is the name of the page you are trying to load. > > > > Okay list, did I get all of this right?? > > > > To get to my server I use http://172.16.1.1:8080/golf > > This loads the index page. > > http://172.16.1.1:8080/golf/scores.jsp loads the scores jsp page. > > I am running Tomcat on the default port. > > > > Doug > > > > ----- Original Message ----- > > From: "xavier manohar" > > > > To: > > > > Sent: Wednesday, February 18, 2004 2:18 PM > > Subject: re :jsp error > > > > > > > Hello Doug, > > > I don't know what the url u mean .pls let me know some > > example. > > > mano > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, > > services, tools and more. > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, > services, tools and more. > > > Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]