File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP and LiteWebServer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP and LiteWebServer" Watch "JSP and LiteWebServer" New topic

JSP and LiteWebServer

j deming

Joined: Jul 25, 2001
Posts: 3
I'm calling a controller JSP from an html form. The controller JSP then uses a bean to handle the form data. Then based on how completely the user filled out the form the controller JSP decides upon 1 of 2 JSPs to return to the user. So, I have an html form, 3 jsps, and a bean.
Can anyone familiar with the LWS file structure offer input on where to place these files so they will work?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Assuming that it conforms to Sun's recommended standard, the JSPs go in the root of your application directory, the classes go in WEB-INF/classes and the jar files go in WEB-INF/lib. Don't forget WEB-INF/web.xml, while you're at it!

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: JSP and LiteWebServer
It's not a secret anymore!