Show only one view from a link

0

I'm new to vRaptor bla bla

I want to click a view button and redirect to a view-only page. I need to create a controller just for this or a

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

Does it solve? What is the best way?

    
asked by anonymous 17.06.2015 / 21:44

1 answer

1

Your problem has been resolved, but one possible solution to the error:

  

java.lang.IllegalStateException: There are two rules that match the   uri '/ test' with method GET:

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

  

@Path ("your address")

Even though you are aware of the double address, I particularly prefer to use the controller / method standard.

    
16.12.2015 / 16:08