1

Example:

/**
     * @see <a
     * href="http://localhost:8080/MyApp/App/v1/thing/?param1=24421">URL
     * example thing</a>
     *
     * @param param1 myparam
     * @param request extends the ServletRequest interface to provide request
     * information for HTTP servlets.
     * @return param1
     */
    @GET
    @Path("thing")
    @Produces(MediaType.TEXT_PLAIN)
    public String thing(@QueryParam("param1") String param1, @Context HttpServletRequest request) {
        return param1;

    }

When i generate Javadoc, I´m receiving this error from netbeans: error: invalid url.

How should I put in URL instead?

2
  • 2
    Check Linking to an external URL in Javadoc? Commented Oct 28, 2015 at 16:02
  • 1
    Note that you're linking to localhost which won't be accessible from other users. Commented Oct 28, 2015 at 16:11

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.