This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 16160
    
  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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP and LiteWebServer