aspose file tools*
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


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

JSP and LiteWebServer

j deming
Greenhorn

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?
Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

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!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: JSP and LiteWebServer