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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15629
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and LiteWebServer
 
Similar Threads
design advaice for data validation
usebean getProperty and setProperty in the same form field
Need some help regarding MVC arcitecture
how to access a bean that has bean created by <jsp:useBean> tag?
Summary of Struts, by Struts newbie