• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring *Controller-Servelt.xml

 
marcos gomez
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 ^-^
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac 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
Sheriff
Posts: 17278
6
IntelliJ IDE Mac 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic