Display only one view from a link

Asked

Viewed 20 times

0

I’m beginner in vRaptor bla bla

Want to when clicking a view button and redirect to a view only page. Need to create a controller just for this or a

<li><a href="../sistema/pagina.jsp">CLIQUE AQUI</a></li> 

solve? What’s the best way?

  • I checked here and I need to create a controller for that. However, I am looking for a solution to the following error: java.lang.Illegalstateexception: There are two Rules that Matches the Uri '/test' with method GET:

  • I solved here, guys. Dei clean, it seemed compilation problem in the project.

1 answer

1

Your problem has been solved, but a possible solution to the error:

java.lang.Illegalstateexception: There are two Rules that Matches the Uri '/test' with method GET:

It’s actually because you have two identical URL mappings with the same name. A solution would be to enter the full path, controller/method or if you do not use the annotation

@Path("your address")

Even so stay tuned for address duplicity, I particularly prefer to use the standard controller/method.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.