Dusan Mancic

Greenhorn
+ Follow
since Jun 09, 2011
Dusan likes ...
Mac C++ Linux
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dusan Mancic

Thank you, I will take a look at that.





Dusan
11 years ago
JSP
Hi,


I'm analysing some JSP source code. I don't know how JSP pages are connected.

For example: the first page is login.jsp (with log in form). When user clicks on Log in button,
what is the next jsp page that will be shown to him?

Where can I define navigation rules?

In JSF there is a file faces-config.xml where navigation rules are defined (start JSP page, servlet which checks username and password, and the next JSP page).

I imported the source code in Eclipse as General/Existing Project into Workspace.



Thank you very much!

Dusan
11 years ago
JSP
It's me again,


do you know how templates and css are used? I want to have layout page which would use external css file, and then import it as template in every other .jsp page.
12 years ago
JSF
Hi!

Yes, that was the problem, thank you! I saw it two days ago, but I still have problems to connect pages. However I missed web.xml file again, because I need to register rich libraries. I'm trying to solve this, but if I don't do it, I will write here. I hope that you will be here again!
12 years ago
JSF
Hi people,

I am doing a JSF project, but it doesn't work properly. In fact, the first problem is that I can't use index.jsp page.

I use NetBeans 6.9.1, click New Project, GlassFish server 3.0, J6 EE, Jsf framework 1.2.

It then creates welcomeJSF.jsp page. However, I want to use index.jsp instead. I simply right click on welcomeJSF.jsp and choose rename, and write index.

When I run the project, it returns me Error 404 - welcomeJSF.jsp not found.

If I chose JSF 2.0, it would create welcomeJSF.xhtml, and the problem continues.

That is only begining, because I can't jump from page to page neither...

I've almost finished whole project, but I can't check it... So please, help me! Thanks!
12 years ago
JSF