Steve Gates

Ranch Hand
+ Follow
since Feb 28, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Steve Gates



I have two classes 1)MessageConfigurator and 2)MessageInfoManager. How can these two classes be moved to MainView class. I just need to remove these classes, but move their code to MainView.

MessageConfigurator


MessageInfoManager

It is necessary that the code of these two classes be in Mainview

MainView
2 days ago
I have a deadline. It is necessary to create the Timer class, which will run a certain function for a certain time, let's say every 1 second (example "unread" function)
My Project all code and files
https://github.com/fallen3019/vaadin-chat

MainView



MessageList


RestController

Message class

MessageInfo


RestService

3 weeks ago


I created a project on Spring Boot. With the help Vaadin 14 UI framework, I create a chat with interface. Everything works perfectly in the program, several people can write chat messages. There remains one task that I can’t realize Only i need to implement all this with Rest/API(JSON)

Application class

ChatMessage class

MainView class

MessageList class

1 month ago
I wrote a project and I want to show on the page (allStudents.jsp) a list of all students. But for some reason it doesn’t show, you can see the code. It may have written something wrong.It seems everything wrote correctly without errors. Now I will add all my classes.


Student Controller



All Students JSP



Security Config
6 months ago
When the project was launched, the mesh site worked in web.xml. But now I want to run it without web.xml and i deleted him. I wrote the code it seems to be correct, but you can tell where you made a mistake or did not write correctly. He doesn't show me sitemesh menu template



Servlet initializer
6 months ago
I want the admin page to immediately display the "all students" page, but it does not show it for me. I sort of wrote it right, you can see it can write with an error

Security Config




AuthorizationController

   

login.jsp




allStudents.JSP
7 months ago
When I run the project, the page allStudents.jsp pops up from me where I have to log in, after logging in I have to go back to the page allStudents.jsp, but for some reason he throws me right after logging in to "loginaction"




7 months ago
I have access rights to all pages only from the admin (only all users can visit the login page). So, I want all users to visit the "allStudents.jsp" page too. Did I write the code correctly for the access rights? And how can I make so that allStudents is the main page and immediately jumps out when I launch the project, I just now have the first authorization page


Security Config



AuthorizationController


Student Controller

7 months ago

Randy Tong wrote:(message deleted)


Can you help me please
https://github.com/kabdygazinov/SchoolLogin
7 months ago

Randy Tong wrote:What is not working?



It is necessary that when a project is launched, it opens the login page and after I log in with the login and password, only then should it show the page where the list of students
7 months ago

Campbell Ritchie wrote:Discussion added to our Spring forum.



Can you help me please?
7 months ago
I want to implement one thing in my project, but it does not work. I have a jsp page with a list of students(allStudents.jsp), I want when the project starts so that the login page comes out and after such as the admin enters his login and password only when he could immediately go to the page where the list of students. But my project does not ask me to enter my login and password and immediately opens the page where the list of students is.

My project in Guthub https://github.com/kabdygazinov/SchoolLogin

AuthorizationController.jsp


Student Controller


mvc-dispacther-serlvet

 


7 months ago
I want to implement one thing in my project, but it does not work. I have a jsp page with a list of students(allStudents.jsp), I want when the project starts so that the login page comes out and after such as the admin enters his login and password only when he could immediately go to the page where the list of students. But my project does not ask me to enter my login and password and immediately opens the page where the list of students is.

My project in Guthub https://github.com/kabdygazinov/SchoolLogin

AuthorizationController.jsp


Student Controller


mvc-dispacther-serlvet

 


7 months ago
Hello. I want to implement one thing in my project, but it does not work. I have a jsp page with a list of students, I want when the project starts so that the login page comes out and after such as the admin enters his login and password only when he could immediately go to the page where the list of students. But my project does not ask me to enter my login and password and immediately opens the page where the list of students is.
AuthorizationController


Student Controller
7 months ago

Campbell Ritchie wrote:What does this part of the end of the error message mean?

Uncompilable source code - Erroneous tree type: <any>

It doesn't give a line number, but there should be a red mark on the corresponding line on the code. Please check that for what the compiler error is. It might be a non‑existent actual type parameter. Remember there is no such built‑in type as, “any,” even though a language like Eiffel does have such a type. Do you have a class called Any? How did you spell it?

Please see this FAQ.



I don't seem to have any errors in the code, nothing seems to be underlined with a red sign.
7 months ago