Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Requirements

 
Albert Gray
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Say you have Tomcat 4.o b6 as your server, and you have a jsp file (myJsp.jsp) in your Tomcat's webapps directory and everythimg is running well.
What else you need to run myJsp. jsp file from the scratch on your IE5.5 browser?
Thanks for your attention.
Albert
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Depends on the source of myJsp.jsp. If it uses any
Java classes (may also be called Beans), then you need these
classes to be in the CLASSPATH of Tomcat. Generally,
these should be placed either individually in the
webapps/myApp/WEB-INF/classes folder or in a jar file
in webapps/myApp/lib folders.
regds.
- satya
 
Albert Gray
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Satya,
You sound very enlightening to me. Please tell me more what the other possibilities are in the same line of thought. As you indicated WEB-INF (i know it) and also has a xml file in it and it mostly confuses me! May for mapping we need it. But there is a need for mapping and why xml? Excuse me if I am pointing to wrong directions.
Thanks for your(anyone else also plese) attention againg.
Regards
Albert
Originally posted by Madhav Lakkapragada:

Depends on the source of myJsp.jsp. If it uses any
Java classes (may also be called Beans), then you need these
classes to be in the CLASSPATH of Tomcat. Generally,
these should be placed either individually in the
webapps/myApp/WEB-INF/classes folder or in a jar file
in webapps/myApp/lib folders.
regds.
- satya

[This message has been edited by Albert Gray (edited August 04, 2001).]
[This message has been edited by Albert Gray (edited August 04, 2001).]
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"What else you need to run myJsp. jsp file from the scratch on your IE5.5 browser?"
Tomcat doesn't run ON your BROWSER, it runs AS a SERVER (on the remote host). So what brand and version of browser is immaterial.
The mapping is how a logical address (URL) gets translated to a physical location. This extra abstraction allows you to let the user specify a URL that has a different name than the actual servlet's class name (for example). It also assists in allowing you to sensitive a servlet to a file suffix in a URL - that is send URLs ending with ".PDF" to a servlet named "MakeaPDF", just to illustrate a fairly common sort of case.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic