• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Jersey / how to forward?  RSS feed

 
Gerald Kettenburg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I´m new here, and like to introduce myself. I´m a 25 years old student from Germany, hope my English is good enough that you understand where my problem is. I´m developing a small WebApp with some other students. We are using a Tomcat 6 Server. Now we tried to switch from Servlets to Jersey 1.1. The problem is that our .jsp files are in the Web-Inf folder because we want to block direct access. With Servlets we used a request dispatcher, what worked well. Now we tried to give back a response (Response.seeOther / Response.created) with the URL, the URL in the browser is right, but the browser has no access to the JSP file. Additionally we want to have the Jersey Path in the browser URL instead of the .jsp address in the Browser. How can we realize this? Hope sb can help us. Best wishes from Germany.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you seen this?
http://blogs.sun.com/sandoz/entry/mvcj
Best wishes!
 
Gerald Kettenburg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ah, ok! That´s exactly what I need. But when I understand it right, I have to create a Template with the location of the JSP page. Where do I create this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!