• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Spring *Controller-Servelt.xml

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone! This is my first post.

Im new in SpringMVC so i have some doubts with the following



The thing is that i dont know which other properties (like sessionForm, commandClass) are available to use and what are they for.

can someone help me with a link or something?

Thanks ^-^
 
ranger
Posts: 17344
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
controllers.LoginController

Isn't that your own class and not Spring? I have not seen a Spring class with that package structure. So it looks like your class, and only you can tell us what other properties it might have.

Mark
 
marcos gomez
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dah.. youre right Mark.

That inherits from SimpleFormController and i want to know which other properties can i set. I set sessionForm and commandClass because they were in all the examples but only for that.

thanks
 
Mark Spritzler
ranger
Posts: 17344
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, that better.

Sorry to do this to you but the best place to check is the JavaDocs for that class

http://static.springframework.org/spring/docs/2.5.x/api/index.html

Instead of going to the parent class heirarchy, scroll below the classes methods to see the other methods that it inherits, and any set* method I guess are the possible properties.

Mark
 
marcos gomez
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot!!

That link is something i was looking for a long time!
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!