spring

I am workign on spring MVC and i have welcome page outside WEB-INF folder and other jsp page inside WEB-INF. I have given a url to that page from welcome page. Its not working. I guess sth wrong. DOes anyone know how can i give the correct url to jsp page inside WEB-NF.

Thanks

[290 byte] By [akaura] at [2007-11-27 11:56:48]
# 1

anyone there to help

akaura at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...
# 2

nope... does it say "Spring forum" at the top of this page?

corlettka at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...
# 3

show us the full url you are using in the page that is outside the WEB-INF folder. Is there any reason why you want your jsps inside the WEB-INF folder? WEB-INF is normally used for config files..

yorkroada at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...
# 4

HTMLs, images, JSP's, servlets etc. should not dwell under WEB-INF. It is supposed to contain stuff accessible only internally not externally.

BIJ001a at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...
# 5

sorry corlettk but i ma new to java .. so i posted here,...

thanks for replyinh all of u..

and i have welcome page where i am giving link to request account page... when users request for account .put their first name and last name in fields it should go to the controller.. and from controller..it would check whethere user info is there in system or not.... i m not gertting the desired results.. as in my -servlet.xml its given ...

and my page is outside web-inf

<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">

<property name="viewClass">

<value>org.springframework.web.servlet.view.JstlView</value>

</property>

<property name="prefix"><value>/WEB-INF/jsp/</value></property>

<property name="suffix"><value>.jsp</value></property>

<property name="order"><value>1</value></property>

</bean>

akaura at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...
# 6

Spring will have access to those internal pages.

Post your URL handler and let's see if it's correct.

%

duffymoa at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...
# 7

IF YOU'RE THIS NEW TO JAVA YOU HAVE NO BUSINESS WRITING JSPS AND USING FRAMEWORKS SUCH AS SPRING

georgemca at 2007-7-29 19:09:38 > top of Java-index,Java Essentials,New To Java...