aspose file tools*
The moose likes Servlets and the fly likes servlets + jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets + jsp" Watch "servlets + jsp" New topic
Author

servlets + jsp

gayathriy Nandakumar
Greenhorn

Joined: Jul 11, 2006
Posts: 15
hi
i am creating an application using jsp & servlets...In my application,i need to capture the input details from two jsp pages..so i use session object ..Initially i capture the data from the first jsp using javabean and redirect to the servlet to second jsp and get the secong page details in second servlet and redirect the second servlet to the output jsp..
here in jsp(i call the servlet1 in action tag of jsp1 & servlet2 in action tag of jsp2)
my problem is:jsp pages are not calling the corresponding servlet and processing)
can anybody help??
thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

What did you set the action of the forms to ?


[My Blog]
All roads lead to JavaRanch
Makarandp Parab
Greenhorn

Joined: Sep 26, 2006
Posts: 6
Hi
If it is not calling the expected servlet, where it is getting submitted or is it throwing some kind of exception. Throw some more light on our problem.
let me know.

Regards
Makarand
dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
hi,

Usually the session objects wont be working consistently, if you are switching between different context paths. For example if you are using tomcat5.5 and didn't deploy your application, then you should use different context paths(servlets-examples and jsp-examples). That could create problems in your application.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets + jsp
 
Similar Threads
asynchronous processing in a servlet
Best way to capture HTML form data
Mr.Bergsten, does the book based on Model 1?
MVC (urgent)
Beginning JSP 2: From Novice to Professional by Peter Den Haan, et al