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 Android Security Essentials Live Lessons this week in the Android forum!
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: 15960

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.
It is sorta covered in the JavaRanch Style Guide.
subject: JSP and LiteWebServer
Similar Threads
how to access a bean that has bean created by <jsp:useBean> tag?
usebean getProperty and setProperty in the same form field
design advaice for data validation
Need some help regarding MVC arcitecture
Summary of Struts, by Struts newbie