aspose file tools*
The moose likes Servlets and the fly likes JSP Requirements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Requirements" Watch "JSP Requirements" New topic
Author

JSP Requirements

Albert Gray
Ranch Hand

Joined: Mar 06, 2001
Posts: 43
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

Joined: Jun 03, 2000
Posts: 5040

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

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Albert Gray
Ranch Hand

Joined: Mar 06, 2001
Posts: 43
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

Joined: Jun 25, 2001
Posts: 16141
    
  21

"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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Requirements